It's no different than using session/entity beans anywhere else.

In an action...

      ClientServiceManagerHome home =
HomeLocator.getClientServiceManagerHome();
      ServiceManager manager = home.create();

      ((ServiceListForm)form).setServiceModels(manager.findAll());

HomeLocator is just a class that does the JNDI lookup of the HomeInterface.




    --m

----- Original Message -----
From: "Mahesh Bhagia" <[EMAIL PROTECTED]>
To: "Apache Struts (E-mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 8:11 AM
Subject: EJB with Struts


> Hi,
>
> Does anyone how can we use entity / session with struts or any reading
> material for that
>
> Thanks
> Mahesh

Reply via email to