Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes Struts and EJB3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts and EJB3 " Watch "Struts and EJB3 " New topic
Author

Struts and EJB3

Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2057
Are there any issues when using Struts with EJB3(session, persistence), or is it just like the typical "no struts, jsp/servlet/ejb3" combination?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30789
    
157

Originally posted by Jesus Angeles:
is it just like the typical "no struts, jsp/servlet/ejb3" combination?

Yes. Struts doesn't care what persistence framework you are using. This assumes you aren't using Struts/JSP database tags. But that's poor practice anyway. It's much better to have a separate layer.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2057
Thanks Jeanne
 
wood burning stoves
 
subject: Struts and EJB3