users@glassfish.java.net
Re: Call remote EJB3 module from web application.
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
] [
Next in thread
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: <
glassfish_at_javadesktop.org
>
Date
: Sun, 09 Dec 2007 15:09:12 PST
change this:
<sun-web-app>
<ejb-ref>
<ejb-ref-name>hello</ejb-ref-name>
<jndi-name>[b]java:comp/env/hello[/b]</jndi-name>
</ejb-ref>
</sun-web-app>
to
<sun-web-app>
<ejb-ref>
<ejb-ref-name>hello</ejb-ref-name>
<jndi-name>org.petka.remote.ejb.HelloRemote</jndi-name>
</ejb-ref>
</sun-web-app>
You can simplify it by using annotation alone without any descriptors.
Some ejb3 samples:
https://glassfish.dev.java.net/javaee5/ejb/EJB30.html
JavaEE Tutorial:
http://java.sun.com/javaee/5/docs/tutorial/doc/
Glassfish EJB FAQ:
https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html
-cheng
[Message sent by forum member 'cf126330' (cf126330)]
http://forums.java.net/jive/thread.jspa?messageID=249243
This message
: [
Message body
]
Next message
:
glassfish_at_javadesktop.org: "Re: Call remote EJB3 module from web application."
Previous message
:
glassfish_at_javadesktop.org: "Re: Glassfish Start-up Error"
In reply to
:
glassfish_at_javadesktop.org: "Call remote EJB3 module from web application."
Next in thread
:
glassfish_at_javadesktop.org: "Re: Call remote EJB3 module from web application."
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]