File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and Other Java EE Technologies and the fly likes Error while execution of session facade pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » EJB and Other Java EE Technologies
Reply Bookmark "Error while execution of session facade pattern" Watch "Error while execution of session facade pattern" New topic
Author

Error while execution of session facade pattern

amit ang
Ranch Hand

Joined: Sep 28, 2001
Posts: 38
Hi Everybody,
I was to execute example of session facade pattern. All the files compile properly, but when ejbc command is run, i get the following error:
ERROR: Error from ejbc:
In EJB sf_entity_method, method create(int,java.lang.String,int,int) exposes local interfac
e types or local home interface types through the remote home interface of the bean. This is not al
lowed.
In EJB sf_entity_method, method findByPrimaryKey(ejb.com.sessionfacade.entity.AccountPK) ex
poses local interface types or local home interface types through the remote home interface of the
bean. This is not allowed.
ERROR: Error from ejbc:
In EJB sf_entity_method, method remove(java.lang.Object) on the home interface does not thr
ow java.rmi.RemoteException. This is a required exception.
In EJB sf_entity_method, method create(int,java.lang.String,int,int) on the home interface
does not throw java.rmi.RemoteException. This is a required exception.
In EJB sf_entity_method, method findByPrimaryKey(ejb.com.sessionfacade.entity.AccountPK) on
the home interface does not throw java.rmi.RemoteException. This is a required exception.
ERROR: Error from ejbc: In EJB sf_entity_method, the home interface ejb.com.sessionfacade.entity.Ac
countHI must extend the javax.ejb.EJBHome interface.
ERROR: ejbc found errors
Thanx in Advance
Amit
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 12513

If you read the messages and do what they say, you'll solve most of your problems - unlike many systems, these messages actually say what's wrong and how to fix them.
If you still come up with problems, ask in the WebLogic forum - they're better equipped to help with WebLogic-specific questions.


One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
 
 
subject: Error while execution of session facade pattern
 
Threads others viewed
Need urgent help!!!!!!
ejbc error
Error while validate Descriptors
ejbPostCreate() for session/message beans
EJB HELP
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture