File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes Wanted to clear up a misconception about Seam Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Wanted to clear up a misconception about Seam" Watch "Wanted to clear up a misconception about Seam" New topic
Author

Wanted to clear up a misconception about Seam

Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Since we have such a good audience this week, I wanted to clear up a misconception a lot of people have about Seam, that I hear a lot.

Seam does NOT require the use of EJB. repeat you are NOT required to use EJBs in a Seam app. Your Seam components can be POJOs.

This goes with Seam being able to be deployed on other app servers and Tomcat too.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Dan Allen
Author
Ranch Hand

Joined: Mar 05, 2003
Posts: 164
Thanks, Mark. That is a common misconception. The other common misconception is that you must use JBoss AS to use Seam. Seam is a general enterprise application framework that can be used on any Java application server or servlet container. The only barrier is getting the configurations right, but that is true of all Java applications (the nature of the beast).

I will extend your comment by saying that you don't have to use JPA to use Seam. You can use Hibernate, or you can just not use an ORM at all (you could use iBatis, albeit with a lot less benefit). You also don't have to use JTA. You can use a resource-local transaction, which basically means you let the ORM handle the transaction boundaries for you.

Seam is extremely flexible. In fact, if you read chapter 4 of Seam in Action, you will learn that you can override any built-in Seam component with your own implementation. In Seam 2.1, you can even develop your own custom deployment handler so you can also register your own types of resources (and infrastructure) during Seam initialization.

Just keep one thing in mind. Seam is a way to define and wire together stateful components. What technologies you use doesn't really matter.


Dan Allen | http://mojavelinux.com | Author of Seam in Action - http://mojavelinux.com/seaminaction
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

The only barrier is getting the configurations right

By the way, thumbs up for posting instructions to deploy to Glassfish.


[My Blog]
All roads lead to JavaRanch
Dan Allen
Author
Ranch Hand

Joined: Mar 05, 2003
Posts: 164
Keep your eye out for instructions to get the EAR project working and, if I have my way, GlassFish support baked into seam-gen after Seam 2.1.
 
 
subject: Wanted to clear up a misconception about Seam
 
Similar Threads
Is Seam Too Important For JBoss?
Seam 2.1 Identity Management and SSO
seam releases
Seam in Action: Can I run seam in another app server other than JBoss?
Running Seam in other app servers like Tomcat, or Glassfish