jpswain wrote:
>
> I'm just curious what everyone is using for transaction management. I
> have been working with Wicket for a while now (and loving it) on a pet
> project that also uses Hibernate and Guice.
> I'm realizing now that I might need/want transactional support for a
> couple parts of my app.
>
> I don't have any experience with Spring or Java EE or EJB, but have been
> avoiding Spring because of what I have read and seen online with so much
> XML-coding. Is it possible to use spring transaction module by itself and
> without too much XML? I'd really appreciate hearing what y'all are you
> guys using for your transactional needs.
>
> Also is it possible to run a Wicket-based project inside a JEE container
> like Glassfish or JBoss AS directly to take advantage of EJB & JTA,
> or would that require something like Seam + wicket-seam integration?
>
> If anyone has recommendations on where to get started with transactions,
> that would be great too.
>
> Thanks!
> J
>
If you're using Tomcat then you can drop in the OpenEJB war file [1] and get
some EE support added for free with zero extra config and no additional xml.
Should take only a minute or two to get going. You can add EJBs right in
your webapp (no ears required) and get all the transactional support and JTA
EntityManager support, etc. You can even unit test the EJBs with the
embeddable EJB container support.
There is also an example zip on the download page that has an
openejb+hibernate maven/ant project all setup and ready to go.
-David
[1] http://openejb.apache.org/download.html
--
View this message in context:
http://www.nabble.com/My-Wicket-%2B-Hibernate-project--Transaction-solutions--Java-EE-w--Wicket--tp19127403p19170589.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]