Secure Java/J2EE Lab setup

Posted on October 21, 2012. Filed under: java/j2EE |


Learning security coding is like playing fire, it is recommended to have a virtue machine set up in order to do these experiment. Virtue machine is like a sandbox in you host operation system, whenever things goes wrong, you can delete the whole virtue machine and start over without harming your host operation system.

The following is the official VM ware download site:

VMware Fusion for Mac with 30 days free trial

http://www.vmware.com/products/fusion/overview.html

VMWare Player for windows and linux for free

http://www.vmware.com/products/player/

Once virtual machine is installed, you can download free linux OS image into the virtue machine.

Top free Linux os distributions include: Ubuntu, Debian, Fedora, CentOS.

Once the linux system on your virtue machine is up and running, you can install a tomcat and setup a basic J2EE web application and start experiment.

The following is the setup document from official tomcat website:

http://tomcat.apache.org/tomcat-7.0-doc/appdev/index.html

There are also tons of better “hello world” tutorials on the internet.I found the following tomcat eclipse setup tutorial easy to follow:

http://www.coreservlets.com/Apache-Tomcat-Tutorial/tomcat-7-with-eclipse.html

Advertisements

Make a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Liked it here?
Why not try sites on the blogroll...

%d bloggers like this: