dcsimg
Stateless session bean object handling
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Raj_MUkherjee
Posted On:   Tuesday, May 7, 2002 05:54 PM

I am building an application using Web Logic 6.1 where a stateless session bean is sent an object and the object's fields are modified based on business logic. These changes should be reflected on the presentation layer. The program used to work in Web LOgic 5.1sp11 but now does not work in WL 6.1. Any ideas?? For a clearer description, here's the skeleton code Suppose we are using an object of class PQR and the EJB is ABC PQR pqrInstance = new PQR(); create a new client for the EJB. send pqrInstance to the client which calls an instance of ABC. now access pqrInstance's fields. This logic worked fine with 5.1 but blows up with 6.1 Any help wil   More>>


I am building an application using Web Logic 6.1 where a stateless session bean is sent an object and the object's fields are modified based on business logic. These changes should be reflected on the presentation layer. The program used to work in Web LOgic 5.1sp11 but now does not work in WL 6.1. Any ideas??

For a clearer description, here's the skeleton code


Suppose we are using an object of class PQR and the EJB is ABC


PQR pqrInstance = new PQR();

create a new client for the EJB.

send pqrInstance to the client which calls an instance of ABC.

now access pqrInstance's fields.


This logic worked fine with 5.1 but blows up with 6.1

Any help will be sincerely appreciated

Raj

   <<Less

Re: Stateless session bean object handling

Posted By:   Anonymous  
Posted On:   Tuesday, May 7, 2002 06:47 PM

Can u make sure that the class implements serializable.
Because it is working on wlserver5.1 ,it may not been the
reason.
About | Sitemap | Contact