Dear community,
I have a SessionBean that i have implemented as a WebService 1.1 compliant,
using the new wsee xdoclet tags in the new JBoss 4. I also have another class (
Calculadora) in my project that i use in the SessionBean, so that classe needs
to be serialized, because the sessionBean returns an object of the class's type
(see below).
public abstract class TestSessionBean implements TestSessionEndpoint,
SessionBean {
/**
* @ejb.interface-method
* view-type="service-endpoint"
**/
public Calculadora Calc (int x, int y){
Calculadora tmp = new Calculadora();
tmp.setX(x);
tmp.setY(y);
tmp.multiplicacao();
return tmp ;
// and continues....
}
I need to know what tags do i need to use (using JBoss 4.0.0), so that xdoclet
knows that class Calculadora, needs to be serialized and i could use then the
code above, to return an object in the Calc method. As it is now, compiles OK
but it doesnÂt deploy, JBoss 4 complains that it doesnÂt know
Calculadora.class
Thanks Herlander
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859123#3859123
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859123
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development