File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes JBoss Seam Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss Seam " Watch "JBoss Seam " New topic
Author

JBoss Seam

Rahul Juneja
Ranch Hand

Joined: Aug 03, 2002
Posts: 425
Folks,

I have just started looking at jboss seam to understand what benifits does it provide to the web application, which can be developed with Spring, JPA and jsf.
I did say Spring instead of Session beans because i am big fan of Spring.

My First observation was doesn't it make things more complicated by putting session beans and JSF action beans in one class. Also don't we loose the decoupling concept we learned in our basics.

I understand that i makes like simpler and there is less code to maintain now but i see a tradeoff which might or might not be worth the effort.

Any Comments on this ?

Thanks,
Rahul


Rahul Juneja
ThoughtClicks - http://techlabs.thoughtclicks.com
Ashok C. Mohan
Ranch Hand

Joined: Dec 03, 2003
Posts: 75
Also don't we loose the decoupling concept we learned in our basics.


When you use seam, seam is the component which decouples your view from the model. All communication between your view and model goes through seam and hence it is quite easy to replace either of them with a different technology seamlessly


SCJP 1.4
Do not dwell in the past, do not dream of the future, concentrate the mind on the present moment.
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
In theory, you can "de-couple" everything into infinite number of layers -- it just a matter of how much de-coupling you actually NEED. If you really need to de-couple the JSF actions from EJB services, you can easily do that with Seam: Just make a POJO component that acts as JSF event handlers and make it invoke other service objects in the backend.


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
w wswwe
Greenhorn

Joined: May 15, 2009
Posts: 1
Hi , I also have such feeling that it may make different layer more couple.
e.g. ejb3 entity bean can be directly accessed in jsf . is it a good practice?
i.e. if anything in DB change will lead to change in ejb3 entity and presentation layer as well.
any comment ?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9912
    
158

"w wswwe"

Please click the "My Private Messages" link (at the top of this page) for a message from JavaRanch.


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBoss Seam
 
Similar Threads
is Seam just another framework?
Some thoughts about abstracting everything from everything
Which framework would be the best ?
JBoss and Seam
MVC Model and Domain Model