You can use annotations or spring-javaconfig with Spring if you don't want to
go through too much XML configuration. That criticism is really unwarranted
these days. The annotation-style configuration is very similar to how Guice
works, whereas spring-javaconfig is basically like writing the spring.xml
file in Java code. The latter is nice in that all the wiring is centralized,
but you still get the benefits of working with a Java IDE, such as
refactoring or searching for occurences.

There's probably some easy way to hook Guice up with the Spring transaction
manager, but I've never tried.

And yes, you should be able to run Wicket in an EJB3 Container, but you'll
have to deal with some boilerplate code that will allow you to inject your
EJB3 services into Wicket components...

Personally, I would recommend going with Wicket, Spring and Hibernate (or
JPA) via spring-javaconfig. 


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
> 

-- 
View this message in context: 
http://www.nabble.com/My-Wicket-%2B-Hibernate-project--Transaction-solutions--Java-EE-w--Wicket--tp19127403p19127522.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]

Reply via email to