Que pasa chavales ;)
A lot of thanks David, (one thousand or more ;) the session bean is working.
So with that tip, OpenEJB works like an EJB 2.0 especification.
Woooooo, it's very interesting.
One question, what especification of CMP use OpenEJB???
I've got another problem, but I don't know if this is the right place to
ask...
Well, you're experts programers so I think you could help me
I make a session bean with a method that return an ArrayList.
This ArrayList has objets that I've defined. It's a simple class/bean
(no EJB) "RefPeticion.class"
Well, my problem is the next one:
I use the session bean from a JSP to get the ArrayList (it's OK,
it has got the number of objets that I've added), but I'm not able to
recover
the objects "RefPeticion".
However, if I add String or Integer objects in the ArrayList, I'm able
to get it
so I don't know why it doesn't work.
_This is the line which gives me the problem:_
RefPeticion refPeticion = (RefPeticion) alRefPeticiones.get(0);
_and this part of the traze_:
java.lang.ClassCastException
at
org.apache.jsp.test.testGesPet_jsp._jspService(testGesPet_jsp.java:176)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298
....
.....
OK, that's all guys.
I've hoped you're able to understand me because my English is not very
good, so sorry.
If you want you can teach me jajaja xD
Well, one more time, ONE THOUSAND AND HALF of thanks to everybody
Bye.
-Roberto.