View Full Version : Laszlo and EJB (Enterprise Java Bean)
nmquang
11-05-2004, 06:38 PM
Hi All,
Please help me, I have some question about Laszlo and EJB:
1. Can Laszlo program communicate with EJB or an EJB application?
2. If it can, How?
Any one know the answers, please help me!
Thanks a lots,
Minh Quang
nmquang
11-05-2004, 07:35 PM
Oh, I found the answer at http://www.laszlosystems.com/developers/community/forums/showthread.php?s=&threadid=957&highlight=EJB
Thanks all,
Minh Quang
blakely
11-08-2004, 12:05 PM
Maybe it is just me, but I'm thinking that directly accessing an EJB from a laszlo app (or any RIA) would be a very bad architectural decision.
RIA's don't really fit in to the currently accepted J2EE design patterns, but it just doesn't make any philosophical sense to turn EJBs in to a request handling mechanism. You really need some server-side presentation-tier component (servlet) to broker that call for you. That also gives better recovery from transactional failure.
In the research that I'm doing, the major enterprise objection to RIA's is scalability. I'm convinced that scalability isn't a problem with these things so long as you keep your wits about you. Keeping the EJBs separate and separately load balanced, and acessing them through a proper front-end structure feels a bit better..
Perhaps not worrying about accessing EJBs directly, but rather figuring out how to write a proper servlet broker to manage all this is the way to go.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.