porting to struts
Hello All, we have a product which was built on an inhouse developed controller, and we are currently planning to port the application on struts. This application was built on the MVC architecture with a central controller as the application entry point. for phase I we have to make additional modules for this product and then later integrate these modules in the new ported application. my questions are as follows. a. can i build the new modules around ActionServlet so that the current controller can pass the control to the struts controller when required. b. will i be able to access the objects stored in the request, application or session objects by the current controller frm my action class? c. will the ActionController be able to load the database connections/connection pooling (we are using oracle) d. will there be any performance issues? do let me know your views. i need to make a report today and send it over. thanks a lot in advance for ur time. best regards rajat
porting to struts
Hello All, we have a product which was built on an inhouse developed controller, and we are currently planning to port the application on struts. This application was built on the MVC architecture with a central controller as the application entry point. for phase I we have to make additional modules for this product and then later integrate these modules in the new ported application. my questions are as follows. a. can i build the new modules around ActionServlet so that the current controller can pass the control to the struts controller when required. b. will i be able to access the objects stored in the request, application or session objects by the current controller frm my action class? c. will the ActionController be able to load the database connections/connection pooling (we are using oracle) d. will there be any performance issues? do let me know your views. i need to make a report today and send it over. thanks a lot in advance for ur time. best regards rajat
Re: porting to struts
On 10 Mar 2004, at 12:02, Rajat Pandit wrote: Hello All, we have a product which was built on an inhouse developed controller, and we are currently planning to port the application on struts. This application was built on the MVC architecture with a central controller as the application entry point. for phase I we have to make additional modules for this product and then later integrate these modules in the new ported application. my questions are as follows. a. can i build the new modules around ActionServlet so that the current controller can pass the control to the struts controller when required. You can use servlets and the struts action servlet together yes b. will i be able to access the objects stored in the request, application or session objects by the current controller frm my action class? Yes. c. will the ActionController be able to load the database connections/connection pooling (we are using oracle) Yes.. Don't make any difference which db you use. d. will there be any performance issues? The struts action servlet is an easy way of not getting to bogged down with threads and such like, as the action servlet is one servlet instance. do let me know your views. i need to make a report today and send it over. thanks a lot in advance for ur time. Just bolt struts on to your existing stuff and will work fine (assuming you existing stuff works at the moment). One suggestion, why not just try it out? best regards rajat - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: porting to struts
On 10 Mar 2004, at 12:02, Rajat Pandit wrote: Hello All, we have a product which was built on an inhouse developed controller, and we are currently planning to port the application on struts. This application was built on the MVC architecture with a central controller as the application entry point. for phase I we have to make additional modules for this product and then later integrate these modules in the new ported application. my questions are as follows. a. can i build the new modules around ActionServlet so that the current controller can pass the control to the struts controller when required. You can use servlets and the struts action servlet together yes b. will i be able to access the objects stored in the request, application or session objects by the current controller frm my action class? Yes. c. will the ActionController be able to load the database connections/connection pooling (we are using oracle) Yes.. Don't make any difference which db you use. d. will there be any performance issues? The struts action servlet is an easy way of not getting to bogged down with threads and such like, as the action servlet is one servlet instance. do let me know your views. i need to make a report today and send it over. thanks a lot in advance for ur time. Just bolt struts on to your existing stuff and will work fine (assuming you existing stuff works at the moment). One suggestion, why not just try it out? best regards rajat - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Hi Rajat, I don't know if it is a good idea to answer all your questions with a straight yes without knowing your implementation. It could be possible to port your application to struts but you have to be careful. Kind regards, Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: porting to struts
Rajat: Markus is quite right.. however, for what it's worth, you may like to know we pretty much did exactly what you are suggesting: Relaese 2 of one of our bigger web applications was an extension (funcionality-wise) of Release 1. Relaese 1 was completely written with servlets/jsps and we chose to use Struts for Release 2. Also, as you mention below, access to the connection pool logic was written early on (therefore with a servlet). Relaese 2 thus was a combination of the old and the new and we have not seen any problems at all. In fact Release 3 is now ready (in a couple of weeks) to be moved into production - this has more Struts stuff - and testing has produced no issues at all which were related to the fcat of Struts and non-Struts code living togther. As far a we can see, it is a happy co-existance.. Which of course makes sense, since Struts is after all a glorified servlet, albeit a great one..:) Hope this helps and good luck with your new Struts venture! Geeta Markus wrote: On 10 Mar 2004, at 12:02, Rajat Pandit wrote: Hello All, we have a product which was built on an inhouse developed controller, and we are currently planning to port the application on struts. This application was built on the MVC architecture with a central controller as the application entry point. for phase I we have to make additional modules for this product and then later integrate these modules in the new ported application. my questions are as follows. a. can i build the new modules around ActionServlet so that the current controller can pass the control to the struts controller when required. You can use servlets and the struts action servlet together yes b. will i be able to access the objects stored in the request, application or session objects by the current controller frm my action class? Yes. c. will the ActionController be able to load the database connections/connection pooling (we are using oracle) Yes.. Don't make any difference which db you use. d. will there be any performance issues? The struts action servlet is an easy way of not getting to bogged down with threads and such like, as the action servlet is one servlet instance. do let me know your views. i need to make a report today and send it over. thanks a lot in advance for ur time. Just bolt struts on to your existing stuff and will work fine (assuming you existing stuff works at the moment). One suggestion, why not just try it out? best regards rajat - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Hi Rajat, I don't know if it is a good idea to answer all your questions with a straight yes without knowing your implementation. It could be possible to port your application to struts but you have to be careful. Kind regards, Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: porting to struts
Correction: Geeta Ramani wrote: Rajat: living togther. As far a we can see, it is a happy co-existance.. Which of course makes sense, since Struts is after all a glorified servlet, albeit a great one..:) ..I meant of course Struts is built around a (controller) servlet .. not Struts *is a servlet! geeta - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: porting to struts
:) thanks a lot everyone for ur valuable inputs!!! in case anyone forsees any possible bottlenecks, please do let me know! rajat - Original Message - From: Geeta Ramani [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 6:45 PM Subject: Re: porting to struts Correction: Geeta Ramani wrote: Rajat: living togther. As far a we can see, it is a happy co-existance.. Which of course makes sense, since Struts is after all a glorified servlet, albeit a great one..:) ..I meant of course Struts is built around a (controller) servlet .. not Struts *is a servlet! geeta - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]