[JBoss-user] [EJB/JBoss] - Re: JBoss Deployment problem

2004-10-25 Thread darranl
What does the local interface look like and what does the entity bean class look like?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852529#3852529

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852529


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: JBoss Deployment problem

2004-10-25 Thread skethama
 
  | 
  | //EJB class
  | 
  | package com.telcordia.tns.subscriber;
  | 
  | import javax.ejb.EntityBean;
  | import javax.ejb.EntityContext;
  | import javax.ejb.EJBException;
  | import javax.ejb.CreateException;
  | import java.sql.SQLException;
  | import com.telcordia.tns.subscriber.USERINGROUPPK;
  | 
  | /**
  |  * @ejbHome com.telcordia.tns.subscriber.USERINGROUPHome
  |  * @ejbRemote com.telcordia.tns.subscriber.USERINGROUP
  |  * @ejbLocalHome com.telcordia.tns.subscriber.USERINGROUPLocalHome
  |  * @ejbLocal com.telcordia.tns.subscriber.USERINGROUPLocal
  |  * @undefined
  |  * @displayName*/
  | 
  | public abstract class USERINGROUPBean implements EntityBean {
  | private EntityContext ctx;
  | public void setEntityContext(EntityContext context) throws EJBException {
  | ctx = context;
  | }
  | public void unsetEntityContext() throws EJBException {
  | ctx = null;
  | }
  | 
  | public void ejbActivate() throws EJBException {
  | }
  | 
  | public void ejbPassivate() throws EJBException {
  | }
  | 
  | public void ejbRemove() throws EJBException {
  | }
  | 
  | public void ejbStore() throws EJBException {
  | }
  | 
  | public void ejbLoad() throws EJBException {
  | }
  | 
  | public USERINGROUPPK ejbCreate() throws CreateException, EJBException, 
SQLException {
  | // Write your code here
  | return null;
  | }
  | 
  | public void ejbPostCreate() throws CreateException, EJBException, SQLException 
{
  | // Write your code here
  | }
  | 
  | /**
  |  * @undefined
  |  */
  | public abstract double getUSERKEY() throws EJBException ;
  | 
  | public abstract void setUSERKEY(double uSERKEY) throws EJBException ;
  | 
  | /**
  |  * @undefined
  |  */
  | public abstract double getGROUPID() throws EJBException ;
  | 
  | public abstract void setGROUPID(double gROUPID) throws EJBException ;
  | 
  | /**
  |  * @undefined
  |  */
  | public abstract double getTENANTID() throws EJBException ;
  | 
  | public abstract void setTENANTID(double tENANTID) throws EJBException ;
  | 
  | /**
  |  * @undefined
  |  */
  | public abstract double getUSERPRIORITY() throws EJBException ;
  | 
  | public abstract void setUSERPRIORITY(double uSERPRIORITY) throws EJBException ;
  | 
  | public USERINGROUPPK ejbCreate(USERINGROUPPK ugpk) throws CreateException, 
EJBException, SQLException {
  | this.setUSERKEY(ugpk.uSERKEY);
  | this.setTENANTID(ugpk.tENANTID);
  | this.setGROUPID(ugpk.gROUPID);
  | return ugpk;
  | }
  | 
  | 
  | public void ejbPostCreate(com.telcordia.tns.subscriber.USERINGROUPPK param0) 
throws CreateException, EJBException, SQLException {
  | /* Write your code here */
  | }
  | }
  | 
  | 
 
  | 
  | //Local Home
  | package com.telcordia.tns.subscriber;
  | 
  | import javax.ejb.EJBLocalHome;
  | import javax.ejb.FinderException;
  | import javax.ejb.EJBException;
  | import javax.ejb.CreateException;
  | import java.sql.SQLException;
  | import javax.ejb.EJBLocalObject;
  | 
  | public interface USERINGROUPLocalHome extends EJBLocalHome, EJBLocalObject
  |  {
  | 
  | public USERINGROUPLocal create() throws CreateException, EJBException,
  | SQLException;
  | 
  | public USERINGROUPLocal create(USERINGROUPPK ugpk) throws CreateException,
  | EJBException, SQLException;
  | 
  | public USERINGROUPLocal findByPrimaryKey(USERINGROUPPK pk) throws
  | EJBException, FinderException;
  | }
  | 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852570#3852570

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852570


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: JBoss Deployment problem

2004-10-25 Thread darranl
Your local home interface should not be implementing the EJBLocalObject interface, 
that is only for the local interface not the local home interface.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852575#3852575

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852575


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: JBoss Deployment problem

2004-10-25 Thread darranl
Sorry that should have been 'Your local home interface should not be extending the 
EJBLocalObject'.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852576#3852576

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852576


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: JBoss Deployment problem

2004-10-25 Thread skethama
Thank you Darran  !!
Such a dumb mistake.
This Jbuilder 2005 I was using did not even complain about it.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3852598#3852598

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852598


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user