-
1. Re: How Does Seam resolve URL's ?
amitev Jun 28, 2008 12:20 PM (in response to johnc5)*.seam is resolved by the Faces Servlet. Then Facelets is looking for a view with suffix javax.faces.DEFAULT_SUFFIX (.xhtml).
You can'thit
url directly unless you exactly specify an onpageload action. -
2. Re: How Does Seam resolve URL's ?
johnc5 Jun 28, 2008 2:00 PM (in response to johnc5)Thanks. So is it possible to
hit
a seam session EJB bean using a browser URL ?John.
-
3. Re: How Does Seam resolve URL's ?
admin.admin.email.tld Jun 29, 2008 6:33 PM (in response to johnc5)What he was referring to was most likely a JSF EL call like such:
event="onpageload" action="#{fooAction.fooMethod}"
in a a4j:support tag perhaps.
or using Seam Remoting JS function to call a EJB method exposed using @WebRemote.
or maybe it's possible to configure this in the pages.xml??
In what use case would you need to hit an EJB method on a GET request from URL directly?
Typically, a EJB method execution, whether it's a SFSB or SLSB, is a result of a UI use case execution (e.g. enter fields in a form, click submit, etc.)