RE: Accessing EJB from JSP (again)

2000-03-31 Thread Joseph B. Ottinger
On Fri, 31 Mar 2000, Mike Cannon-Brookes wrote: > If you're using taglibs, the best way is to use the library that comes with > Orion called ejbtags.jar > > Then within your jsp you do: > > <%@ taglib uri="../ejbtags.jar" prefix="ejb" %> > > location="java:comp/env/my/ejbs/location" /> > > T

RE: Accessing EJB from JSP (again)

2000-03-31 Thread Mike Cannon-Brookes
If you're using taglibs, the best way is to use the library that comes with Orion called ejbtags.jar Then within your jsp you do: <%@ taglib uri="../ejbtags.jar" prefix="ejb" %> Then within your page you can do things like <% myhome.create(blah); %> Also useful when combined with the iterate

RE: Accessing EJB from JSP (again)

2000-03-30 Thread Arved Sandstrom
What I do (and I'm getting a feel for J2EE myself) is to interpose a JavaBean. I don't think that this is absolutely required (i.e. I think that direct access of EJBs from JSP pages is permitted), but on the other hand I don't want a chunk of pure presentation (the JSP) directly calling an entity