I'm kinda stuck with compiling a Servlet in Eclipse on Mac OSX 10.10. Code doesn't matter here - it's a simple HelloWorld example. Point is, I need to install J2EE for this and I have a hard time figuring out how. Now - I went to oracle's web page and downloaded the.zip file. Turns out to be some kind of application server called Glassfish.
I don't need this. I don't want this. (I wanna deploy my app on a Jetty) Whatever. But where's the J2EE? In the documentation it reads To Install the Software The following procedure describes how to install the SDK distributions using the ZIP file. Download the distribution file for your platform from the Java EE 7 SDK Downloads page. Navigate to the directory where you downloaded the file.
Unzip the file. Solaris, Linux, and Mac OS X systems: unzip zip-file-name Windows systems: Unzip using your favorite file compression utility. The Java EE 7 SDK Update 1 or Java EE 7 Web Profile SDK Update 1 is extracted into a new glassfish4 directory under your current directory. That's pretty much it: Yeah - the content looks like a bunch of examples, this glassfish-server-thingy, and some docs. Now how do I get from here to Eclipse compiling an HttpServlet-class??? Googled for an hour by now - nothing really helped:(.
Eclipse IDE for Java EE Developers is a tool for Java developers that lets you create JEE and web applications, it includes an integrated development environment for Java, as well as JEE, JDF, and Mylyn interface development tools. It comes with a modular structure that’s extensible using plugins, thus letting you work with any type of resource: graphics, video, 3D models, web content, etc.
If you wish to use the Java EE 6 APIs you will need to avail your self of a compatible Java EE Application Server. Glassfish is the reference implementation of Java EE 6, however there are other servers as well that are compliant. JBoss is another popular option. These install easily on Mac OS X. HOME / Download In order to download NetBeans installers, Javascript must be switched on in your browser. Please switch it on before proceeding.
Other languages that can also be used on Eclipse include: C/C, PHP, Ruby, TCL and Javascript. As a Java IDE it comes with some interesting functions, among them: batch application development, integrated filtering and testing unit, incremental building and compilation, etc.
Comments are closed.
|
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |