Forum Controls
Spotlight Features

The Rich Engineering Heritage Behind Dependency Injection

Andrew McVeigh takes us on a tour of the rich heritage behind dependency injection, what it represents, and tells us why its here to stay.

NetBeans 6: Matisse Updates

NetBeans 6 delivers great updates to the Matisse GUI builder. Spend a few minutes with Roman Strobl and get an expert briefing on what's new and what has changed.

Introduction to Groovy Part 3

In this, the third and final installation of Andres' Introduction to Groovy series, you learn about how Groovy handles variable numbers of arguments, named parameters, currying, and more about Groovy operators. Including, some new operators.

Easier Custom Components with Swing Fuse

Swing Fuse (actually just Fuse), is a framework designed to make it easier to create your own custom desktop components. In this article, Daniel Spiewak shows you how to get started and provides sample source code you can download.

Benchmark Analysis: Guice vs Spring

Willam Louth shows how he uses JXInsight Probes to investigate probable performance issues with code bases that he is not familiar with. He also highlights possible pitfalls in creating a benchmark, as well as in the analysis of results.
Replies: 24 - Pages: 2   [ 1 2 | Next ]
Threads: [ Previous | Next ]
  Click to reply to this thread Reply

Java web development with Eclipse 3.3

URL: James Selvakumar

At 7:24 AM on Jan 14, 2008, James Selvakumar wrote:

Eclipse as a Java IDE, offers great support for most kind of Java development. Be it Java SE or Java EE or GWT or Spring, Eclipse has much to offer at the best price :-)

As a Java developer, I love eclipse for it's superior editor, lightning fast code completion, excellent refactoring support etc, etc..

But for Java web development, I've mostly used Netbeans so far.

So, I thought of seeing how the Java web development is being supported by eclipse. So I developed a small application which makes use of just the core java ee technologies like jsp/servlets/jsp-el/jstl using eclipse.

I've narrated my experience here:
http://jamesselvakumar.blogspot.com/

To summarize, i feel that the Java web development support in eclipse can be still better.

What do you think about it?

This discussion is definitely definitely not to start a flame war, but just a humble opinion from an user.
1 . At 8:00 AM on Jan 14, 2008, Martijn Dashorst DeveloperZone Top 100 wrote:
  Click to reply to this thread Reply

Re: Java web development with Eclipse 3.3

I think it depends on the web framework you use. If you use JSF, then probably Netbeans or JDeveloper are the way to go.

However, since our Java applications are all Apache Wicket based, all we need is a decent HTML editor and an excellent Java editor. Eclipse is a very good option regarding the latter.

I have tried IDEA and Netbeans but I am still convinced that Eclipse is best for me . I do like the HTML editor of IDEA better than the default editor of Eclipse. But since I don't spend as much time editing HTML as I do writing Java code, I find myself being more productive in Eclipse.
2 . At 10:40 AM on Jan 14, 2008, James Selvakumar wrote:
  Click to reply to this thread Reply

Re: Java web development with Eclipse 3.3

You are right. Eclipse is very strong in it's "java editor". And for wicket development, where you'll be developing mostly java classes (isn't that the promise of wicket?), eclipse might be the best choice.

And i also love the inbuilt html browser available in eclipse.

(But with lots of swt-swing bridge projects going on, idea and netbeans might have inbuilt browser at some point of time)
3 . At 12:31 PM on Jan 14, 2008, Jose Marķa Arranz Santamarķa wrote:
  Click to reply to this thread Reply

Re: Java web development with Eclipse 3.3

The out of memory problem you reports (OutOfMemoryError: PermGen space) is not an Eclipse problem, nor is a heap space problem, is a "class loading overflow", you should increase
-XX:MaxPermSize and/or occasionally restart the Tomcat (and may be the IDE too).

I can understand why Eclipse doesn't recognize an already running Tomcat instance, Eclipse only manages/identifies the processes it has launched (and owns), I think it is reasonable behavior. The problem you reports is a "dramatic" case, and a dramatic case must be resolved using dramatic tools as a task manager killer :)

NetBeans have been ever ahead of Eclipse on the web space, I remember the crappy days of NetBeans/Forte, NetBeans have ever had a "decent" JSP editor/debugger when Eclipse only had a pretty plain Java editor.

Anyway I agree with Martijn Dashorst the view-centric programming world can be avoided using a pure HTML web framework like Wicket or ItsNat
4 . At 4:06 PM on Jan 14, 2008, slim wrote:
  Click to reply to this thread Reply

Re: Java web development with Eclipse 3.3

I have tested many IDEs in JEE development. I follow eclipse versions, jdev and also netbeans since netbeans 5.
I think that netbeans offers a complet and robust environment for me. less then 100 Mo with glassfish and tomcat, ESB , visaul JSF tools , full EJB 3 and web service support. sincerely, eclipse is become platform development but netbeans is a tool development.
5 . At 9:42 PM on Jan 14, 2008, Sidewinder wrote:
  Click to reply to this thread Reply

Re: Java web development with Eclipse 3.3

Try Eclipse 3.3 with MyEclipse 6 will blow netbeans or other IDE, MyEclipse simple rocks, MyEclipse have everything and best of all for JEE development also supports Spring and Hibernate development, JSF, Tapestry and more.
They also implemented the netbeans gui builder mattisse so you can do all your Java development with Eclipse.

I'll say it again Eclipse and MyEclipse rocks!, People should try first other IDE's and tools before make conclusion's.
6 . At 9:57 PM on Jan 14, 2008, Sidewinder wrote:
  Click to reply to this thread Reply

Re: Java web development with Eclipse 3.3

With all the respect and I'm a noob with Wicket and I think is a cool project but what is the diference between one Java framework with the other. Wicket use html as template as other frameworks use xhtml for templating. Wicket use innerclasses or events as controlers other frameworks use controlers, I don't see any gain between one framework with another, some people loves xml other people hates xml. Other people loves annotations others hate them. My language is better than yours or my dad beat your dad. Human's.

Myeclipse gives to each person the thing they need, need wicket there you go, need JSF there you go, need xml with spring there you go or with annotations, so on. It have all the tools you will need for any task, And please people lets stop for onces the thing my framework is better than yours because that will never happend, actually all frameworks sucks in Java, Ruby or any language or tools, we are humans and we make many mistakes so nothing is perfect. Even MyEclipse is very cool tool, it have some bugs in it.
7 . At 3:58 AM on Jan 15, 2008, Jose Marķa Arranz Santamarķa wrote:
  Click to reply to this thread Reply

Re: Java web development with Eclipse 3.3

I think this thread isn't the place to talk about web framework X vs Y.

But if we are analyzing *web development and tools* is important to state the difference of web frameworks *fully oriented* to tools: any framework heavily based on custom tags and XML declarative programming on the view, and *tool agnostic* (oriented to developers) web frameworks like Wicket and ItsNat.

The difference is important because a tool centric web framework tends to bind you to a concrete visual tool, and your success is dependent of how fine the tool is doing the work. I remember tons of wasted hours spent on a buggy Swing editor of an old version of NetBeans (I'm not talking about NetBeans-Matisse).

Another point of view is productivity: a visual tool is amazingly good to quickly add visual components, but there is no much reusing of your own work, most of the time you'll be adding the same view code again and again. The best tool to reuse and extend is OOP for me :)

And we can talk of freedom and full control of the HTML layout, no XML based declarative programming... but this isn't the thread. This thread is about web dev and tools (Eclipse mainly).
8 . At 5:25 AM on Jan 15, 2008, Thomas Mäder DeveloperZone Top 100 wrote:
  Click to reply to this thread Reply

Re: Java web development with Eclipse 3.3

> With all the respect and I'm a noob with Wicket and I
> think is a cool project but what is the diference
> between one Java framework with the other. Wicket use
> html as template as other frameworks use xhtml for
> templating.

Wicket does not use templating! With templating, the template xml/html/whatever is the master and builds the component tree. In Wicket, the component tree is the master and uses the markup to render itself. That is fundamentally different (and better, IMHO).

These day people tend to postulate that all web frameworks are created equal. NOT! Different types of web applications require different approaches (Wicket, for example is a stateful/rendering/component framework), and within those approaches there are differences in API and implementation quality.

And oh, I've got five older brothers and they can beat up your dad anytime ;-)
9 . At 7:30 AM on Jan 15, 2008, t800t8 wrote:
  Click to reply to this thread Reply

Re: Java web development with Eclipse 3.3

If you develop by using Struts, try to use IDEA. Eclipse (even with MyEclipse) and NetBeans cannot beat it.
10 . At 9:03 AM on Jan 15, 2008, Amir Alagic wrote:
  Click to reply to this thread Reply

Re: Java web development with Eclipse 3.3

Hi!

NetBeans is good IDE. I used NetBeans 4.1 and 5.0 but I felt that it is slow. Few minutes ago I installed NetBeans 6.0 and then restarted my computer... And for about 5-6 minutes ago I "started" NetBeans 6.0 and it is still starting. Even if I think that NetBeans has cool features (Swing GUI, JSF...) and is free like Eclipse (MyEclipse is not free...) I am not sure that I want to use IDE that is starting 8 minutes.
11 . At 2:12 PM on Jan 15, 2008, Jonathan wrote:
  Click to reply to this thread Reply

Re: Java web development with Eclipse 3.3

If NetBeans takes 8 minutes to start I think you have other issues. Unless your system is from the Windows 3.1 era, I can't imagine it taking that long. I'd actually check to make sure it's actually NetBeans causing the issue. On my work PC, the company anti-virus often uses 99% of the CPU while I'm using NetBeans.

If you are using an old PC, I suggest getting something a bit up to date. Even the PC I built 4.5 years ago (to mid-range specs) has no problems running NetBeans. In fact, it runs it much faster than my 2 year old work laptop that has 2GB of memory.

NetBeans is certainly more demanding than notepad with resources, but when doing software development its generally one of very few programs that need to be open and you only need to start it once or twice per day. Even if it does take 8 minutes, that's 8 minutes extra you have to browse sites like javalobby in the morning :)

----

On my work laptop, a warm start of NetBeans takes 28 seconds. And I currently have 61 processes running. Not all of them are light - 7 instances of firefox open (with 29 tabs open total), outlook, instant messaging software, another editor, etc. This machine isn't exactly a powerhouse either, it's a 1.6 pentium m with onboard video supporting two larger monitors (which bogs it down badly).
12 . At 10:13 PM on Jan 15, 2008, Sidewinder wrote:
  Click to reply to this thread Reply

Re: Java web development with Eclipse 3.3

I'm agree with Jonathan, If you have speed isues with Netbeans 6 you have a problem not Netbeans. Try to optimize the switching of JVM, uninstall plugings you never use. Check your computer, OS or something else where is the bottleneck because really I try Netbeans 6 and it is not slow at all.

Really the people who have isues of speed with Netbeans 6 should go to the faq and check it out because is not Netbeans 6 fault.

I liked Netbeans 6 for the price you get a great IDE but if you are like me that wants more get Eclipse with MyEclipse, MyEclipse cost some bucks, it have a good price for the tools it have, check on their site. Also IDEA is cool but I liked more MyEclipse and it is little less expensive.
13 . At 10:27 PM on Jan 15, 2008, ABBEY wrote:
  Click to reply to this thread Reply

Re: Java web development with Eclipse 3.3

I'm using the Eclipse too and feeling very great.
Java Forum
14 . At 3:15 AM on Jan 16, 2008, Amir Alagic wrote:
  Click to reply to this thread Reply

Re: Java web development with Eclipse 3.3

I have relatevley good computer and with Eclipse or Visual Studio 2005 or anything else I don't have any problems except with NetBeans 6.0.

Maybe it is slow because I have NetBeans 6.0 (All: Java, Ruby, C/C++...). Anyhow great IDE and I like its Swing and JSF support but I'll stick with Eclipse for a while.

thread.rss_message