Hi Ted, Iam currently working on a Enterprise application where the client is a thick one i.e C#>.Net and we are having jsps too, now we are having facade beans to talk to the Domain layer.The requirements is such that the the C#.Net Client should acess the various functionality through webservice and jsps should also do the same.As if of now we are deliberating with the idea of having a Request Processor bean(as a controller which further delegates the request to a Request Dispatcher ) . I would like to know how to best integrate Struts with EJB layer and make it work for WebServices also. Rishi Singh SCJP,SCWCD
I used MiddleGen to create a layered Struts application that is fully EJB 2.0 compliant. Middlegen is an open source project, and I found it to be outstanding(although there are some bugs-but its all workable.) I would recommend that you consider at least for a starting point, using middlegen to create a pilot app that uses struts and ejb.
Rishi Singh
Ranch Hand
Joined: Dec 09, 2000
Posts: 321
posted
0
Hi Matthew, Can you give any reference url where i can read and download MiddleGen. Thanking You, Rishi Singh SCJP,SCWCD
Generally, Struts applications should access any and all persistence layers through a facade accessed through an Action. The ActionForms bring the data up from the input forms, and the Action passes it through a facade to the persistence layer. Whether the persistence layer is a EJBs, CORBA, a web service, or plain old JDBC really doesn't matter. For some EJB-specific advice see my Tip Use EJBs with Care. HTH, Ted. And I would also recommend taking a look at Middlegen before beginning a EJB project.
<a href="http://husted.com/struts/book.html" target="_blank" rel="nofollow">Struts in Action</a>
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Struts with EJB and WebService....possible!!!