Discussion:
Calling a class from an EJB
(too old to reply)
Michael N. Christoff
2004-01-17 08:47:19 UTC
Permalink
public class NotABean
{
public static String message()
{
return "Message";
}
}
but in the bean when I say NotABean.one() it doesn't recognize it.
They are both in the HelloWorld package.
Does anyone know the trick to doing this.
What the the,,,?!? There is NO one() method in that class! Try calling
NotABean.message().



l8r, Mike N. Christoff
Jeff
2004-01-19 20:10:35 UTC
Permalink
Post by Michael N. Christoff
public class NotABean
{
public static String message()
{
return "Message";
}
}
but in the bean when I say NotABean.one() it doesn't recognize it.
They are both in the HelloWorld package.
Does anyone know the trick to doing this.
What the the,,,?!? There is NO one() method in that class! Try calling
NotABean.message().
l8r, Mike N. Christoff
Yeah fine NotABean.message(). Just a typo...

Loading...