Win a copy of Learning Regular Expressions this week in the General Computing forum!

Michael Yuan

author
Ranch Hand
+ Follow
since Mar 07, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Michael Yuan

Security is actually a very strong point of Seam. Seam has its own security framework that does much more than most other web app security frameworks. It provides permission-based, and role-based access controls at the object level.

I am not sure how the OS native SSO works -- does the browser pass through some kind of security token to the web app? Can you just make the browser remember the username / password and auto-login?
9 years ago
All the book examples are built with Maven. And I think Seam itself is built with Maven now as well. For Maven based hot deployment, you might have to write a special maven plugin that knows which files to copy to the app server ... You are very welcome to contribute this to the Seam project.
9 years ago
Conversation is like a web wizard. It is a series of web pages inside a http session. It is smaller than a http session. It is especially useful in multiple browser tabs, where all tabs belongs to the same http session.

Process scope lives longer than the http session. It is a business process saved in the database. So, it can survive server reboots. And it can have multiple actors each having its own http session.
9 years ago
What is the spring counterpart are you referring to? Seam-gen is an application generator that generates a skeleton web app that uses Seam ...
9 years ago
I might be wrong -- but I do not think Seam supports DWR. BUT, Seam Remoting is very similar to DWR. So, if you are coming from DWR background, you will find Seam Remoting a natural choice for AJAX.
9 years ago
MDB is "EJB", which a lot of people do not like. ;) Seam's JMS support allows you to hook up JMS into POJOs.
9 years ago
Actually, I use NetBeans to do most of the dev work. The sample projects in the book are setup as maven projects. You just need to open those projects in NetBeans (with Maven plugin), and you can start directly from there by modifying classes / templates in the sample projects.
9 years ago
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.
9 years ago
Invoke web services from beans is simple -- just make a HTTP call? ;) The more complicated task is to expose bean methods as web services. Seam's EJB3 components have the standard EJB WebServices annotation support (in fact, this is how the Seam Remoting does AJAX). Seam also integrates with RESTEasy to support RESTful web services.
9 years ago
I do not think it does currently ... There maybe experimental work out there. But Seam is mostly used with JSF, Wicket, and Tapestry at this moment.
9 years ago
Oh, you meant multiple WARs and they each embed SEAM? That is an interesting question. Have you posted your warnings to the Seam forum at jboss.org and ask them if it needs a JIRA issue?
9 years ago
Struts evolves into JSF, and Seam bridges the gap between JSF and other JEE frameworks (like EJB3). Seam is different from Spring but I think past experience with Spring will definitely help here since Seam uses many Spring concepts.

Yes, the book should be helpful to starters. I do not know when it will be available in India though.

We have seen a lot of job descriptions requiring Seam. Considering this technology is still fairly young, the uptake is impressive -- think early days of Hibernate or Spring ...
9 years ago
Okay, I am biased here. I think Spring + Hibernate = EJB3. Seam is something different. It provides a stateful context that makes integration between the stateless web tier and stateful service layer a lot easier.
9 years ago
Yeah, RESTEasy actually integrate pretty deep into Seam. For instance, you can get Seam context objects as RESTful resources. That goes way beyond those simple stateless RESTful services.

http://www.damnhandy.com/2008/07/02/resteasy-and-seam/
9 years ago
Hmm, I am not sure why this is a problem ... Can't you just reference multiple war files in the application.xml? Am I missing something? Thanks.
9 years ago