I am using Eclipse with Google App Engine Development Server right now on Win-7 platform . I have to create a simple website using Java . I am confused that do I need Tomcat Server installed in-order to develop Java based site using Eclipse Framework ? Can Tomcat be installed on Win-7 platform ? please guide on this . If any better framework is available please suggest (as I am new to this) .
The GAE development server is specifically designed to help you develop applications for Google App Engine by simulating the actual GAE environment. If you plan to deploy the webapp on GAE, then it's all you need.
If you want to develop a standard Java EE webapp, then you indeed need a standard Java EE web container. Tomcat is one of them, but you could also use Jetty, GlassFish, JBooss, Resin or any other Java EE web container. And since they're all written in Java, they're all multiplatform and can all be installed on Windows.
Also Eclipse is not a framework. It's an IDE. Developing a webapp using Eclipse, IntelliJ, NetBeans or a text editor and the JDK doesn't change anything to the webapp. They're just tools to help you write Java code.
Related
I have installed Eclipse photon for pure java. Now I want to use JSP. How can I develop a website using JSP in the same IDE
Install the Web Tools Platform and you can use its support for JSPs. The most critical part for that is the Eclipse Java Web Developer Tools feature, but you'll need the Eclipse Java EE Developer Tools feature if you want to use Eclipse to run and debug your web app on a server.
https://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F
I have written a Java EE application and build a jar of it. I'm trying to run it on a embedded device which having Embedded Linux with ARMv7 processor. Currently I have installed Embedded Java Standard edition of version 1.8 but it's taking lot of time for execution. Even simple java program is taking significatnt amount of time.
I read about Java Micro Edition. Before installing it, I wanted to confirm whether it's possible to run the application developed in Java EE.
Please help me out
To have a better understanding, please see "Difference between Java SE/EE/ME?".
Java EE usually runs inside a Java EE Server (e.g. GlassFish) and is intended for server-side applications or other large-scale systems.
What you probably want is to develop a client that will communicate with the Java EE program deployed on the server.
I am new in web development , i have developed a small app in GWT , now i want it to be Online for free
what are the steps for that , where to get domain ,upload my files etc .
If you're developing your GWT app in Eclipse with Google plugin - the easiest way for you would be deployment to appengine. It's free Java hosting and it would serve your need for static hosting.
http://code.google.com/appengine/
There would be some configuration overhead, but if you start with generating Appengine project in eclipse with GWT. You get pritty nice configuration from the start.
You can ommit everything about java in the documentation.
I am on a Java learning spree recently, however I am normally a .NET developer. (So please forgive my newbie questions.)
In .Net I can develop ASP.Net pages without using IIS, as it has a watered down web server (Cassini, I think it's called).
Does Java or a Java IDE have something similar so I can write and test JSP and Java Servlets without the need of a full-blown app server (Tomcat etc.)?
Also if there is one, does it work on Windows?
Tomcat actually isn't a fullblown appserver. It's just a servlet container (i.e. implementing only web component of the (indeed huge) Java EE API) It's only around 6MB big. Glassfish, JBossAS, Weblogic and Websphere as being full Java EE API implementations may be called as "fullblown appservers".
You can also consider Eclipse Jetty. It has a small footprint (download is only 2.2MB) and is useable as an embedded server and even runnable from a plain vanilla Java class.
As to IDE's, both Tomcat and Jetty are by default supported in "Eclipse for Java EE developers". You can easily integrate them in Servers view and then just associate your web project with it. Here's a nice video tutorial how to get started with servlet development with Eclipse and Tomcat.
As to working on Windows, Java is platform independent. You just need to have a platform-compatible JRE installed. Then any Java software will be able to run on the particular platform. Sun has a JRE for Windows --which is by the way also included in the JDK, if you already have one.
In the Java world the usual way to develop JSP based applications is to have a web container like Tomcat inside the IDE, and there are many ways to do it.
The easiest way to get started is to use Netbeans with a bundled web container - download the "Java" one from http://netbeans.org/downloads/index.html and install it.
After starting Netbeans 6.8, "File -> New project", choose "Java Web" to the left, and "Web application" to the right, and "Next". "Next". "Next". "Finish".
The editor now opens on "index.jsp" in a new project. Select "Debug -> Debug Main Project" and after a while a browser opens showing "index.jsp".
Switch back to Netbeans. Insert this line
<%= new java.util.Date() %>
just before the </body> end tag, and save with Ctrl-S (or "File -> Save").
Switch back to the browser. Reload the page. See the date shown. Repeat :)
That's it.
You can hook up your ant scripts to hot deploy to a local tomcat instance. That's the closest thing I can think of to the .NET development environment.
Eclipse can embed a dev version of Tomcat, and most other IDEs offer a dev server too, I should think.
But also I should also point out that obtaining & setting up Tomcat is quite a bit simpler than setting up IIS. Just download a zip file and unzip -- poof! you're done!
When I was playing with JSP a while back I used NetBeans which has a Web & Java EE-installer, that
Provides tools for developing Java SE,
Java EE, and web applications. This
download option also includes the
GlassFish V2 UR2 application server
and Apache Tomcat software.
Try Jetty http://jetty.codehaus.org/jetty/
Jetty is an Open Source HTTP Servlet Server written in 100% Java. It is designed to be light weight, high performance, embeddable, extensible and flexible, thus making it an ideal platform for serving dynamic HTTP requests from any Java application.
EDIT: corrected link.
I'm looking to build a Struts 1.2.x application for Websphere, using IBM's Application Server Toolkit. Are there any plugins available for this toolkit (it is a version of Eclipse) that are known to help with this type of development? I am new to Struts so I will also be learning about the technology as I go along, but I want to make it as painless as possible.
A web search has only brought up things such as "MyEclipse", which I can't use in the corporate environment.
I don't know about Application Server Toolkit, but since it's Eclipse based, you might directly use the struts plugin from the Eclipse project. Beware of the version, since it's not based on the very last Eclipse version.
The easiest, albeit costly, route for corporates environments is through Rational Application Developer that IBM provides. It integrates nicely with WebSphere Application Server. It has a struts plug-in build-in.
Try StrutsIDE Eclipse plugin.
the name of the custom eclipse for IBM websphere is Rational Software Architect and i think it comes with a Struts plug-in
This can get tricky depending on the version of Websphere you are using. We have an old Struts 1.1 app that has been around for years. I use an old 5.x version of Websphere to run it, along with what used to be called Websphere Studio Application Developer. It is based on Eclipse, and all the Struts stuff is built in.