-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Rakesh Kumar writes:
> Hi all,
>         I have started working on J2EE(Servlets and JSPs) on LINUX. I have
> been working on this language on windows only but now i have some free time
> and i want to learn, how can i run my servlets on Linux. I have no
> experience in servlets on LINUX so before i start working on it i thought to
> ask this question to you this would help me to start properly.

1. Install OpenJDK, IcedTea or Sun JDK, whatever your GNU/Linux distribution
   provides through its package repository. Download JDK from Sun iff your
   distribution doesn't provide packages.

2. Install a servlet container (e.g. Apache Tomcat[1]), by downloading and
   extracting the tarball in your $HOME. This is preferred, even when
   distribution provides a package for the same in their repository, as most
   of the distributions tend to split the package according to their file
   system hierarchy conventions, which conflicts with the paths you encounter
   in the documentation, which you might find difficult. Other than this there
   is no harm in distribution packages, on the contrary for production use,
   always go with distribution's packages whenever available, OR package it
   yourself, if packages aren't available.

3. The rest of the steps (like starting/stopping) should be same as
   Windows. The configuration should also be the same with just the difference
   in path conventions.

References:
[1]  http://tomcat.apache.org/

HTH
- -- 
Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
freebsd.org!ashish | http://people.freebsd.org/~ashish/

“But it was all right, everything was all right, the struggle was
finished. He had won the victory over himself. He loved Big Brother.”
(George Orwell, "Nineteen Eighty-Four", 1949)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)

iQIcBAEBCgAGBQJMNmOiAAoJEMdGz6nnT6SwfXAQAJBuJakPaCoyIj/v6C8bNrSW
BVHddsboWkWILD5k/U6qyN4m7UFyPjIAnu+nL8iLfzT8hkvJEP7TAu7Y50Fm3Ivi
y9Fg13935xWivuGXtHbGvinVHWEjwrTO11nvGLxo64919+5Q7lVns7OIt252BUI8
9EWtLU+EjJMoO4/NBo5ySL0nrwhwHQPqvRTHv8IeP+GM0NSEsyz4uMoHscC/d5LN
DNh6wRCgwPVKcxdQdUcgTks6vrhoHF6FX7hU/xBBzzGiJwovijvobBlm5H9emoI9
+X0/nzSLwgGAt24pzxHaZvjoOrSpuGCtdHjZMcHvKNoiDshXuNkuL7xef5NCJqz7
ekwCx+vLWvhKqyFkSnu5K7HHo8qa6YahyAkLlMl9EIJyQxBFrr4Wj/07FYPgM1OM
TolMJUk9Iq1KSDecnaNJEmx5OSfmNrByO15vHu2LF2ZA4RwMgUPD78lKsvk1qeQy
6OYk3MbsWM+RqIHPrR5XDvmD2rbildw3ZAOEk7HIzKIDXdjffOR+qSeSd1YVEyzj
VDUpqpySiov9IOZvSNPueS7WeirQ/I2lNb6XMPFmxXTpdVIbqdz3nre4szpcmKDc
I0F+8YAplL696u+kymNoIqHhTC7d89abyevqq8V3vLrCvEx4UEJ27MNAm8UnTb+N
DEqXRmevhvRFBFn4Seo/
=Vpmt
-----END PGP SIGNATURE-----

_______________________________________________
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to