Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within BEA/Weblogic
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:
BEA/Weblogic
call the finder methods
Anima Agrawal
Greenhorn
Posts: 22
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hello,
i want to call a CMP bean. The values r already there in database i just want to call the finder method. How should i do that ???
regards
Anima
Pradeep bhatt
Ranch Hand
Posts: 8945
I like...
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
javax.naming.Context initialContext = new javax.naming.InitialContext(); //use context to look up EJB home interface RestaurantHome rh = initialContext.lookup(�RestaurantHome�); //use home interface to create a session object Restaurant r = rh.findByPrimaryKey(�Burger Heaven�);
Groovy
Destroy anything that stands in your way. Except this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
How to put checkpoint in Bean Managed Transaction ??
the question from whizlab
EJB QL: Select TOP 10
New to EJBs
help required specifying Transation attributes for this scenario
More...