We've just finished a 3 days course on Flex 2 under J2EE architectures organized by Comtaste.
Our trainer, a Sun Java and BEA Web Logic certificated, showed us the basics and beyond of how to manage Flex 2 applications under Tomcat 5.5 and BEA WebLogic 9.
It was very interesting see how simple is deploy and publish Flex Data Service within J2EE application servers and these are my final thoughts on the Flex 2/J2EE course :
- Tomcat is so sweet: deploy is fast and easy. Just place the Flex Data Service web application under webapps folder and the game is done. WebLogic does not handle the WAR file so you have to configure some stuff (see my "Deploy flex 2 apps under WebLogic" post)
- WebLogic has a great and powerful Administration console while tomcat is configured manually by xml files.
- Creating users and groups is much simpler on WebLogic
- Tomcat is a light application server for Flex 2 development, whereas WebLogic is CPU and memory intensive
- Tomcat is just a JSP container and does not handle with Java Enterprise Beans as WebLogic does. So if you need to use a complex J2EE architecture with Flex 2 RemoteObjects that points to Java Enterprise Beans you have to use JBoss with Tomcat (or JRun).
- Last but not least, Tomcat is free WebLogic is expensive ! ;)






















We use JRun, comes with all our CF licenses so why not, eh? I thought that Tomcat can't be used for the Flex messaging stuff, that requires more than just a container.
DK
Posted by: Douglas Knudsen | August 08, 2006 at 02:45 PM
Hi Douglas,
we developed an application for a bank that used a J2EE architecture with BEA WebLogic and Spring.
In Enterprise enviroments you often find WebLogic or Tomcat(with JBoss) as application server.
JRun is not so popular in Italy ;)
Posted by: Marco Casario | August 08, 2006 at 04:19 PM
DK,
Tomcat can use Flex Messaging, see here for an explanation ... http://weblogs.macromedia.com/dharfleet/archives/2006/08/flex_messaging.cfm#more
Posted by: Daniel Harfleet | August 09, 2006 at 10:49 PM
In Enterprise enviroments you often find WebLogic or Tomcat(with JBoss) as application server.
I agree!
Posted by: Julia | August 10, 2006 at 05:45 AM
sohbet oyun chat sohbet This site looks so nice...
Posted by: muhabbet | November 22, 2006 at 12:41 AM
To get these instructions to work, I also had to go into the MANIFEST.MF and remove quotes and the *. Until that was done, I got invalid character errors.
Posted by: Scott Person | March 19, 2007 at 08:52 PM
Beautiful article! It’s just what i needed to understand. Happy Day’s
Posted by: sohbet odaları | April 24, 2009 at 04:21 AM
In Enterprise enviroments you often find WebLogic or Tomcat(with JBoss) as application server...
Posted by: konteyner | June 02, 2009 at 02:46 PM
To get these instructions to work, I also had to go into the MANIFEST.MF and remove quotes and the *. Until that was done, I got invalid character errors.
Posted by: kabin | June 02, 2009 at 02:46 PM
Beautiful article! It’s just what i needed to understand. Happy Day’s
Posted by: su arıtma | June 02, 2009 at 02:47 PM
we developed an application for a bank that used a J2EE architecture with BEA WebLogic and Spring.
Posted by: kabin | June 02, 2009 at 02:47 PM
We use JRun, comes with all our CF licenses so why not, eh...
Posted by: su deposu | June 02, 2009 at 02:48 PM
I am grateful to you for this great content.
Posted by: cinsellik | July 18, 2009 at 03:15 PM
my name is zafer
Posted by: sohbet | October 15, 2009 at 05:53 PM
I'm efe ham
Posted by: sohbet | October 15, 2009 at 05:54 PM
tehenk you casario.blog
Posted by: chat | October 15, 2009 at 05:59 PM
very nice blog number one topic.
Regards
Posted by: sohbet | October 26, 2009 at 11:40 PM
thanks for all admin
owe you gratitude..
Posted by: porno izle | November 10, 2009 at 11:52 PM
thanks for the post very useful
Posted by: sohbet chat | November 15, 2009 at 12:18 AM