Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within EJB and other Jakarta /Java EE Technologies
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
EJB and other Jakarta /Java EE Technologies
j2ee-1.4 web module and jee5 ejb module??
Julien Martin
Ranch Hand
Posts: 384
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello,
How do I call a
ejb
3.0 from a class that belong to a j2ee-1.4 module?
Thanks in advance,
Julien.
P.S. I use
Jboss
4.0.5
Mark Spritzler
ranger
Posts: 17347
11
I like...
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Same was as any client would lookup a
Java
EE 5 EJB. Get an InitialContext, lookup the Bean, cast it to its interface, and start using it.
It doesn't matter that the client also happens to be a J2EE 1.4 object.
Mark
Perfect World Programming, LLC
-
iOS Apps
How to Ask Questions the Smart Way FAQ
Julien Martin
Ranch Hand
Posts: 384
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
But my bean does not have a home interface...
Edvins Reisons
Ranch Hand
Posts: 364
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
To enable backward compatibility, your bean needs to be adapted to EJB 2.x client views, and in particular to provide a home interface, by a
@RemoteHome
annotation for example.
[ March 28, 2007: Message edited by: Edvins Reisons ]
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Using Jaas/Login Modules in the web tier
J2EE 1.4 support to EJB 3
Switching from document to rpc-style web services
Generated stub classes for my ejb's remote client with JBoss app server
Question about J2eeDomain/Manager/Jboss (in web console)
More...