aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes J2EE App Dev with  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "J2EE App Dev with  "uninstalled" components." Watch "J2EE App Dev with  "uninstalled" components." New topic
Author

J2EE App Dev with "uninstalled" components.

Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
I have a rather unique situation here - I will be some conducting a few
J2EE app dev workshops and I need a setup that can let me run things in an "uninstalled" mode ie., I cannot install anything on the host machine. I will have rights to modify the path/classpath/IDE settings, but that's about it.

I am probably going to use a portable hard drive. Things I need - an app server, a lightweight database, Struts, hibernate, Ant, JDK etc. I need some recommendations on things I can( and I cannot ) do with this setup.

TIA
[ April 04, 2006: Message edited by: Ajith Kallambella ]

Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Any perference on Application Server? You should be able to do everything you need without installing any products if you use JBoss... in fact WebLogic doesn't really need to be "installed" to work properly either (you would just need to copy a previous install).

The rest of the items that you mention shouldn't pose a problem... except the database. You will probably want to go with something like HSQL DB.

Besides the limitations in product choice you should be able to do anything you want from a J2EE perspective with this setup.
[ April 04, 2006: Message edited by: Chris Mathews ]
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
No preferences on the App server. I too was thinking about WebLogic. JBoss works fine too, I'm just a bit more familiar with WL. I believe only if I install a WL domain as a Windows Service, that it would install something. I'm going to skip that anyways.

Thanks for the tip about HSQLDB. I wasn't so sure about my DB options. It will be an interesting experience. I'll share what I can.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
+1 for HSQLDB.

I've also used JBoss for trainings where I needed the same appserver on more than a dozen laptops. The configuration files etc. are different from WebLogic, though, so some practice beforehand is likely needed if you go with an unfamiliar application server.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9052
    
  12
Originally posted by Ajith Kallambella:
I am probably going to use a portable hard drive. Things I need - an app server, a lightweight database, Struts, hibernate, Ant, JDK etc. I need some recommendations on things I can( and I cannot ) do with this setup.


Database - mySQL
Ant - no problem
JDK - Does this "install" itself these days? It seems that it does more than just unjar itself on install.
App server - one that you can just unzip and run rather than "install"

You should be able to build/deploy any web app without installing anything more. Are you demo-ing both ejb and servlets?


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
BTW... make sure you test the WebLogic setup from your external hard drive on different machines before going into your workshop. If you are planning on using the same WLS Domain you might run into some issues since the LDAP password is encrypted based on machine signature and I get the feeling that moving to different machines might just cause some problems there. The easy work around for this is to create a new domain during the beginning of each workshop... might be good for demostration purposes also. The other alternative, if this is a problem, is to use the weblogic.security.Encrypt utility to re-encrypt the password for each new machine you use.
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
Originally posted by Marilyn de Queiroz:



JDK - Does this "install" itself these days? It seems that it does more than just unjar itself on install.


Yup, JDK can also be unjarred or copied over from an existing installation as an entire folder.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: J2EE App Dev with "uninstalled" components.