Probably in the EJB books they talked about how to write a client for your
EJB. Could it be that you should look at Struts as a client for your EJBs ?
|i surfed google a lot but nowhere i found a sample code about how to
| integrate Struts and EJB.
[quoted text clipped - 15 lines]
| is there anybody can provide me some resoures/links/book/SAMPLE CODE
| recommendation about this mixing ?
gk - 20 Dec 2005 09:20 GMT
yes. they use a JSP as a client.
But i want to use Struts+ tiles .....and i hope you know , Struts
follows MVC. so, i have to write an Action class for that.
so, where and how do i call EJB's ?
should i call it in the Action class as my book shows the way it calls
the EJB in the JSP page itself ?
i dont know , how do i go about . i need an example code for
demonstration.
i want to mix Struts + EJB .
can you show some examples ?
Tim Terry - 20 Dec 2005 16:25 GMT
> yes. they use a JSP as a client.
>
[quoted text clipped - 12 lines]
>
> can you show some examples ?
you should call your ejbs in your struts actions if they perform
business operations.
Tim