Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2EE App Dev with "uninstalled" components.

 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
+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.
 
Marilyn de Queiroz
Sheriff
Posts: 9063
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic