>>>>> "David" == David Ward <[EMAIL PROTECTED]> writes:

    David> Last but not least, yes, the jboss doc is confusing when it says "JBoss does
    David> not currently allow you to use the java:comp/env namespace to call your 
beans
    David> from your clients."  I stumbled over this when I started with JBoss, too.  
In
    David> reality, JBoss *does* support java:comp/env from your *WEB* components (if 
you
    David> want to consider those "clients" of your EJBs). What JBoss does *NOT* 
currently
    David> support is java:comp/env from standalone "not-in-JBoss' jvm" application
    David> clients.  If you use the deployment descriptors I typed up above, a command
    David> line client, for instance, would do a lookup on the name "cais/DBaseFetch".

Isn't it true that the real issue is whether the "client" is in the same JVM?
If you're running a combined Tomcat/JBoss, then your web components are in the
same JVM, and can use the "java:comp/env" namespace.  However, if you're
running Tomcat and JBoss in separate JVMs, then the web components cannot use
the "java:comp/env" namespace, correct?

-- 
===================================================================
David M. Karr          ; Best Consulting
[EMAIL PROTECTED]   ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to