Return-Path: Delivered-To: apmail-pivot-user-archive@www.apache.org Received: (qmail 643 invoked from network); 25 Jun 2010 11:48:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Jun 2010 11:48:10 -0000 Received: (qmail 61810 invoked by uid 500); 25 Jun 2010 11:48:10 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 61680 invoked by uid 500); 25 Jun 2010 11:48:07 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 61672 invoked by uid 99); 25 Jun 2010 11:48:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jun 2010 11:48:06 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of giulianisanches@gmail.com designates 74.125.82.182 as permitted sender) Received: from [74.125.82.182] (HELO mail-wy0-f182.google.com) (74.125.82.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jun 2010 11:48:01 +0000 Received: by wyf22 with SMTP id 22so1258484wyf.13 for ; Fri, 25 Jun 2010 04:47:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=pklIa7CN7H+Lqr6bXAhbX+cWYCKA0PUQGdkus425iX4=; b=q+mNQxl6ATf/iKeUXegLggeHLRYWQKgcezvYEpl5hfF5df9nORGc3mjUpWMlgr8jc/ QzrVkS0G12SVXQ8CVHgS8EWoGJHAmnBwIRL1wDfp88DdWH9mavsJOUw1N+Haj2RpVBzw NAyBkWo1YX8UMoPVowmdPZjWaZF3R6nRQSDfU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ucCMkaIo7EPzXNBKpo5wp7rnIPPIkqd8V4Iv3u5PqMhotH6IHTwsGspG4GtbjUtd0t KbSImCL3vtcI0JqHYaGMyOeZTces45gSm5lXWvqINd64wAdfPS7fH279SvAA4ZnD8AVP kcoe+kIq3/nHPbz2Xdhj2Ja2fDczip7/AfMRU= MIME-Version: 1.0 Received: by 10.216.87.145 with SMTP id y17mr471223wee.9.1277466460789; Fri, 25 Jun 2010 04:47:40 -0700 (PDT) Received: by 10.216.90.138 with HTTP; Fri, 25 Jun 2010 04:47:40 -0700 (PDT) In-Reply-To: <8683746157754517676@unknownmsgid> References: <8683746157754517676@unknownmsgid> Date: Fri, 25 Jun 2010 08:47:40 -0300 Message-ID: Subject: Re: Some advice for my first pivot application From: Giuliani Sanches To: user@pivot.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi. I will do some research based on informations here. As for jaas, yes, i want to do a server side authentication/authorization, but i will consider some other options for that. About vraptor, restlet and apache cxf, i think that vraptor will do the job very well, so i will keep with him due to their simplicity. Ty for all your replies. 2010/6/24 Alejandro Vilar : > Hi Giuliani, > > =C2=A0 =C2=A0 =C2=A0 =C2=A0If you are planning to build a rest-like serve= r app, I can suggest the Restlet framework, easy and intuitive to setup wit= h a lot of extensions like XStream to handle xml and json representations. = For login options supports http basic, Amazon WS S3, oAuth, cookies, digest= , Microsoft Shared Key and so on. Also Spring 3.0 is a good choice for rest= -like web services. My two cents. > > http://www.restlet.org/ > > > Regards, > Alejandro > > P.S. I worked some years with Struts and some time was a nightmare, could= not give you an accurate opinion about Struts2. > > > -----Original Message----- > From: Giuliani Sanches [mailto:giulianisanches@gmail.com] > Sent: Jueves, 24 de Junio de 2010 04:04 p.m. > To: user@pivot.apache.org > Subject: Some advice for my first pivot application > > Hi, > > I'm planning my first pivot application which will use: > > pivot (view) > vraptor - controller (will get my jpa data and serialize to json) - > vraptor.caelum.com.br/en > openjpa - my models > > My main question is about the controller: What do you think ? Is > vraptor/struts2/yourframeworkofchoice a good way to create a > application ? > > My first attempt will be create a login window using jaas to > authenticate e then "redirect"? to the main window which will contain > a menu where items will be built dinamically based on user permission. > > If you have some login examples, will help a lot. hehehhee > > Ty. > > -- > Giuliani Sanches > twitter.com/giulianisanches > giulianisanches.blogspot.com > > Como elaborar uma pergunta: > http://www.istf.com.br/perguntas/ > > --=20 Giuliani Sanches twitter.com/giulianisanches giulianisanches.blogspot.com Como elaborar uma pergunta: http://www.istf.com.br/perguntas/