I would suggest creating a simple application in T5 first, to get the feel for setting up web.xml and getting all the libraries straightened out.
Once you've done that, you can use the injected Request object to read and write session attributes, or use the @SessionAttribute annotation on a field (on the T5 side). On the T3 side, you'll need to do a bit more work to get the HttpServletRequest, to read and write session attributes. I believe you should look at the IEngine interface as a starting point, but my memory of all that is pretty weak. Basically, the HttpSession becomes a kind of "mailbox" that the T5 and the other app can use to communicate and share state. It doesn't matter if the other app is T3 or Struts or pure servlets. On Thu, May 31, 2012 at 11:59 PM, Shanmuka Maridi <[email protected]> wrote: > Hi Robert > > I have checked the below link provided by you. Please let me know how we can > create the service where I can get the T3 Information. > My requirement is something like this, my total application is in T3 as of > now. I want to develop one new page with T5. And also is there any changes > in web.xml also? > > Thanks & Regards > Shanmuka Babu > > > -----Original Message----- > From: Robert Zeigler [mailto:[email protected]] > Sent: Thursday, May 31, 2012 3:41 AM > To: Tapestry development > Subject: Re: Steps to upgrade from Tapestry 3 to Tapestry 5 > > See this thread: > http://tapestry.1045711.n5.nabble.com/Using-T5-and-T3-side-by-side-td3236075.html > for starters. > > Robert > > On May 30, 2012, at 5/301:05 AM , Shanmuka Maridi wrote: > >> Thanks Robert, for your suggestion. >> >> Could you please explain me the steps to do a little work to make them >> talk to each other T3 and T5(in terms of user/session data) >> >> Thanks & Regards >> Shanmuka Babu >> T +91-80-30271584| M +91-9886503085 >> [email protected] >> >> ENGINEERING OUTCOME CERTAINTY >> >> Symphony Services >> Sy. No. 13/1, Kadubeesanahalli Village, Outer Ring Road, Varthur >> Hobli, Bangalore 560087, Karnataka State, India www.symphonysv.com >> >> -----Original Message----- >> From: Robert Zeigler [mailto:[email protected]] >> Sent: Tuesday, May 22, 2012 8:14 PM >> To: Tapestry development >> Subject: Re: Steps to upgrade from Tapestry 3 to Tapestry 5 >> >> FWIW, I have run mixed T3/T5 apps. That's probably your best "upgrade" path: >> gradually convert your T3 pages & components to T5, meanwhile, run the >> side-by-side. >> >> Since T3 runs as a servlet and T5 as a servlet filter, they play together >> nicely. You have to do a little work to make them talk to each other (in >> terms of user/session data), but it's definitely possible. >> >> Robert >> >> On May 22, 2012, at 5/229:04 AM , Bob Harner wrote: >> >>> Sorry, the bad news is Tapestry 3 apps are really too ancient for an >>> upgrade path. I believe Tapestry 3 was last actively worked on in the >>> 2003-2004 timeframe, and while you may be able to do a Tap3-to-Tap4 >>> migration (see http://wiki.apache.org/tapestry/Tapestry3ToTapestry4), >>> Tapestry 5 was a complete rewrite, starting something like 5 or 6 >>> years ago) with no real migration path. Unfortuantely, the break was >>> necessary to introduce all the cool new technologies in Tapestry 5. >>> >>> See >>> http://tapestry.1045711.n5.nabble.com/Convert-Tapestry-4-to-Tapestry- >>> 5 >>> -td5444014.html >>> >>> You might be able to write new code in Tapestry 5 and run it in the >>> same container as Tapestry 4, not sure if that suits you. >>> >>> On Tue, May 22, 2012 at 8:51 AM, Shanmuka Maridi >>> <[email protected]> wrote: >>>> Hi >>>> >>>> Could you please let me know the steps for Tapestry 3 to Tapestry 5 >>>> upgrade? >>>> >>>> Thanks >>>> Shanmuka. >>>> >>>> >>>> ________________________________ >>>> NOTICE TO RECIPIENT: THIS E-MAIL (INCLUDING ANY ATTACHMENTS) IS MEANT FOR >>>> ONLY THE INTENDED RECIPIENT OF THE TRANSMISSION, MAY CONTAIN CONFIDENTIAL >>>> INFORMATION, AND IS PROTECTED BY LAW. IF YOU RECEIVED THIS E-MAIL IN >>>> ERROR, PLEASE IMMEDIATELY NOTIFY THE SENDER OF THE ERROR BY RETURN E-MAIL, >>>> DELETE THIS COMMUNICATION AND SHRED ANY ATTACHMENTS. UNAUTHORIZED REVIEW, >>>> USE, DISSEMINATION, DISTRIBUTION, COPYING OR TAKING OF ANY ACTION BASED ON >>>> THIS COMMUNICATION IS STRICTLY PROHIBITED. >>> >>> --------------------------------------------------------------------- >>> 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] >> >> >> --------------------------------------------------------------------- >> 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] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
