Hi Ty,

I don't personally have much experience with server-side MVC frameworks, but 
I'm sure others on the list do.

There are lots of different ways that a Pivot client can communicate with a 
server. I'd encourage you to look at Pivot's web query libraries, which can be 
used to both produce and consume REST-based web services (using JSON, XML, CSV, 
Java serialization, or whatever). The Pivot tutorial covers the client-side 
libraries, and you may also find this article helpful:

  http://ixnay.biz/implementing_rest_services_with_apache_pivot.html

However, you should note that the server code in that example requires Pivot 
1.5.1 which has not been released yet. You can build it from source, though.

Re: login - I have written apps that use basic HTTP authentication as well as 
session-based authentication using cookies. They are both pretty easy to 
implement, though I prefer basic auth because it is stateless and therefore a 
bit more in line with the REST philosophy.

Hope this helps. Feel free to post any additional questions you might have.

G

On Jun 24, 2010, at 4:04 PM, Giuliani Sanches wrote:

> 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/

Reply via email to