Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCEEJBD
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
Ron McLeod
Paul Clapham
Devaka Cooray
Liutauras Vilda
Sheriffs:
Jeanne Boyarsky
paul wheaton
Henry Wong
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Tim Moores
Carey Brown
Mikalai Zaikin
Bartenders:
Lou Hamers
Piet Souris
Frits Walraven
Forum:
EJB Certification (OCEEJBD)
create method in stateful session bean
jsquare
Greenhorn
Posts: 1
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Is that valid to have a no argument create method along with other create method with arguments in a stateful session bean home method
example:
public interface StoreHome extends EJBHome
{
public StoreFront create() throws RemoteException, CreateException
{
}
public StoreFront create(
String
name) throws RemoteException, CreateException
{
}
}
Deepak Bala
Bartender
Posts: 6663
5
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Stateful beans can have overloaded create methods. Its legal. Make sure to match it with a ejbCreate in your bean.
SCJP 6 articles
-
SCJP 5/6 mock exams
-
More SCJP Mocks
kappiil patel
Greenhorn
Posts: 14
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
i don't think that session bean can have overloaded create() method
it can have for Entity Bean
Deepak Bala
Bartender
Posts: 6663
5
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
it can have for Entity Bean
On the contrary entity beans are not required to have create() methods. Its optional
SCJP 6 articles
-
SCJP 5/6 mock exams
-
More SCJP Mocks
He's my best friend. Not yours. Mine. You can have this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
a question from whizlabs simulator
Home interface of Stateless Session Bean
Bean Lookup Using Custom Constructor
HFEJB - Doubt regarding mock xxam question 6 on page 245
Jboss Deployment Warning
More...