[JBoss-user] [Beginners Corner] - Re: Cant get xdoclet to include create or getter method in i

2004-11-11 Thread sunofra
A HA!
I figured it out ... and as I suspected, I'm an idiot.
If you notice the comments like this ...
 /*
* @ejb.interface-method
*/ 

where they should be like this ...

 /**
* @ejb.interface-method
*/ 


The difference is one little asterisk was missing!
:-)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854827#3854827

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854827


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Cant get xdoclet to include create or getter method in i

2004-11-11 Thread sunofra
Hm. Im not sure my tags came out looking like that but hopefully you can 
still see that clearly. :-(

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854807#3854807

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854807


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Cant get xdoclet to include create or getter method in i

2004-11-11 Thread sunofra
My pleasure. Here is the target which builds the "generated source" ... i.e., 
the remote, remotehome, local, and localhome interfaces. 






















Whats killing me is that the interface classes are generated, but they are 
"empty". They dont contain the create method, nor the getter/setter methods. 
Furthermore, I have a Stateless Session bean right along side this class for 
which xdoclet generates everything correctly. Again, I must be doing something 
really dumb. Its very likely as I am new to j2ee programming.

Thank You so much for taking a look at this.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854803#3854803

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854803


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Cant get xdoclet to include create or getter method in inter

2004-11-10 Thread sunofra
I hate to ask this here but I'm getting desperate...

No matter what I do I cant get Xdoclet to include my create method for my CMP 
test bean. Nor will it include any of the getter or setter methods. I must be 
doing something utterly stupid.

Please feel free to point out my stupidity...
Thanks


package com.test;

import javax.ejb.EntityBean;
import javax.ejb.EntityContext;

/**
 * @ejb.bean
 *  display-name="ContactBean"
 *  description="This bean represents a contact"
 *  jndi-name="ejb/contact"
 *  name="Contact"
 *  type="CMP"
 *  view-type="both"
 *  primkey-field="ideaxid"
 *  cmp-version="2.x"
 *
 * @ejb.persistence
 *  table-name="contacts"
 *
 */
public abstract class ContactBean implements EntityBean
{

public void setEntityContext(EntityContext ec)
{
}

public void unsetEntityContext()
{
}

public void ejbLoad()
{
}

public void ejbStore()
{
}

public void ejbActivate()
{
}

public void ejbPassivate()
{
}

public void ejbRemove()
{
}

/*
 * @ejb.create-method
 */
public Long ejbCreate(Long id) throws javax.ejb.CreateException
{
setIdeaxid(id);
return null;
}

public void ejbPostCreate(Long id) {};

public abstract Long getId();
public abstract void setId(Long id);

/*
 * @ejb.interface-method
 */
public abstract String getName();

/*
 * @ejb.interface-method
 */
public abstract void setName(String name);

/*
 * @ejb.interface-method
 */
public abstract String getNotes();

/*
 * @ejb.interface-method
 */
public abstract void setNotes(String notes);

}


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854699#3854699

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854699


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: J2EE Application Client : How do they work?

2004-11-04 Thread sunofra
I really wish someone would answer this. I have the same exact question.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854012#3854012

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854012


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: SecurityException in Duke's Bank example

2004-10-25 Thread sunofra
I looked at the sourceforge bug and got this to work for me for the web-app.
I'm wondering how I can add authentication ability like this to the app-client. Can 
someone point me in the right direction?
I guess I'm wondering if there is some default LoginDialogin the client jars that 
can be made to pop up when authentication is needed. Or if not, where/how do I provide 
code for my own login dialog.

Thanks!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852634#3852634

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852634


---
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