It's not a secret anymore!
The moose likes EJB and other Java EE Technologies and the fly likes Connecting to Seam Facades Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Connecting to Seam Facades" Watch "Connecting to Seam Facades" New topic

Connecting to Seam Facades

Joe Skora

Joined: Jan 29, 2004
Posts: 7
The benefits of Seam in a web stack appear to be fairly obvious. But, we also have a need to connect to the facades from a desktop based client. Having done this with another EJB project, we had no luck making it work after getting a Seam-Gen generated project running.

Is it possible to create a remote client version of the facades that will work through RMI? (This could also be useful in the case of clustered web servers.)


Joe Skora
Michael Yuan
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427

The answer is "yes". In Seam 1.3 (this week!), we will support stateful web services (expand the standard EJB3 web services). It will be easy to hook non-web client to it.

If you prefer Seam 1.2, you can still write a simple servlet to provide a facade. Check out the GWT integration servlet in Seam CVS to see how it is done. Thanks.


Seam Framework:
It is sorta covered in the JavaRanch Style Guide.
subject: Connecting to Seam Facades
It's not a secret anymore!