Resources for learning/understanding stripersist

View: New views
6 Messages — Rating Filter:   Alert me  

Resources for learning/understanding stripersist

by dan06 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm new to the stripes framework (and java web development for that
matter) and I'm looking for resources (books, websites, blogs, etc.)
that can help me better understand stripersist and how to use it.
Recommendations/suggestions are appreciated. Thanks.

-Dan


     

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-users mailing list
Stripes-users@...
https://lists.sourceforge.net/lists/listinfo/stripes-users

Re: Resources for learning/understanding stripersist

by Mike McNally-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I found that the best way to understand it was to just look at the
source code - it's surprisingly simple.

On Sun, Oct 25, 2009 at 2:13 PM, Dan King <dan.king106@...> wrote:

> Hi,
>
> I'm new to the stripes framework (and java web development for that
> matter) and I'm looking for resources (books, websites, blogs, etc.)
> that can help me better understand stripersist and how to use it.
> Recommendations/suggestions are appreciated. Thanks.
>
> -Dan
>
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@...
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>



--
Turtle, turtle, on the ground,
Pink and shiny, turn around.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-users mailing list
Stripes-users@...
https://lists.sourceforge.net/lists/listinfo/stripes-users

Re: Resources for learning/understanding stripersist

by nmaves :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Freddy's book is a great way to start and help to support the community :)

On Sun, Oct 25, 2009 at 1:23 PM, Mike McNally <emmecinque@...> wrote:
I found that the best way to understand it was to just look at the
source code - it's surprisingly simple.

On Sun, Oct 25, 2009 at 2:13 PM, Dan King <dan.king106@...> wrote:
> Hi,
>
> I'm new to the stripes framework (and java web development for that
> matter) and I'm looking for resources (books, websites, blogs, etc.)
> that can help me better understand stripersist and how to use it.
> Recommendations/suggestions are appreciated. Thanks.
>
> -Dan
>
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@...
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>



--
Turtle, turtle, on the ground,
Pink and shiny, turn around.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-users mailing list
Stripes-users@...
https://lists.sourceforge.net/lists/listinfo/stripes-users


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-users mailing list
Stripes-users@...
https://lists.sourceforge.net/lists/listinfo/stripes-users

Re: Resources for learning/understanding stripersist

by Alamgir Kahn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Aaron Porter, the creater of Stripersist hangs out on IRC and is always super
helpful: http://stripesframework.org/pages/viewpage.action?pageId=511

> On Sun, Oct 25, 2009 at 2:13 PM, Dan King <dan.king106-/
E1597aS9LQAvxtiuMwx3w@...> wrote:
> > Hi,
> >
> > I'm new to the stripes framework (and java web development for that
> > matter) and I'm looking for resources (books, websites, blogs, etc.)
> > that can help me better understand stripersist and how to use it.
> > Recommendations/suggestions are appreciated. Thanks.
> >
> > -Dan



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-users mailing list
Stripes-users@...
https://lists.sourceforge.net/lists/listinfo/stripes-users

Re: Resources for learning/understanding stripersist

by Aaron Porter-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Dan,
There's really not much to Stripersist. It's designed to mostly work
transparently like the Formatters and TypeConverters that are built into
the system. If your ActionBean has a field User user (which is an
Entity) then you could call your ActionBean with something like
"MyActionBean.action?user=1234" and Stripersist would try to load the
User with id=1234 and stuff it into your ActionBean.

Stripersist.getEntityManager() will return a JPA EntityManager that you
can do normal JPA things with. You don't have to worry about closing the
EntityManager as Stripersist does that for you when the request is complete.

Besides that, you need to know that by default Stripersist does
everything inside of a transaction and will not commit the transaction
until you explicitly call Stripersist.commit(). The latest version in
SVN has a new feature that allows you to turn off automatic transactions.

Aaron

Dan King wrote:

> Hi,
>
> I'm new to the stripes framework (and java web development for that
> matter) and I'm looking for resources (books, websites, blogs, etc.)
> that can help me better understand stripersist and how to use it.
> Recommendations/suggestions are appreciated. Thanks.
>
> -Dan
>
>
>      
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@...
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>  


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-users mailing list
Stripes-users@...
https://lists.sourceforge.net/lists/listinfo/stripes-users

Re: Resources for learning/understanding stripersist

by dan06 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Aaron,

I appreciate the explanation, it clarified how Stripersist fits in with JPA (and Hibernate).

Best,
Dan



----- Original Message ----
From: Aaron Porter <aaron@...>
To: Stripes Users List <stripes-users@...>
Sent: Mon, October 26, 2009 2:30:47 PM
Subject: Re: [Stripes-users] Resources for learning/understanding stripersist

Hi Dan,
There's really not much to Stripersist. It's designed to mostly work
transparently like the Formatters and TypeConverters that are built into
the system. If your ActionBean has a field User user (which is an
Entity) then you could call your ActionBean with something like
"MyActionBean.action?user=1234" and Stripersist would try to load the
User with id=1234 and stuff it into your ActionBean.

Stripersist.getEntityManager() will return a JPA EntityManager that you
can do normal JPA things with. You don't have to worry about closing the
EntityManager as Stripersist does that for you when the request is complete.

Besides that, you need to know that by default Stripersist does
everything inside of a transaction and will not commit the transaction
until you explicitly call Stripersist.commit(). The latest version in
SVN has a new feature that allows you to turn off automatic transactions.

Aaron



     

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-users mailing list
Stripes-users@...
https://lists.sourceforge.net/lists/listinfo/stripes-users