in our company we are switching to Java. We want to develop Web Applications using the Spring Framework. We had 4 days of training where the trainer showed us Java using the Springsource Tool Suite which is based on Eclipse.
However i have used previously NetBeans for developing PHP applications.
What do i lose using NetBeans 7.0 compared to using Springsource Tool Suite 2.7.0? Is it really worth developing Spring Framework Web Applications using the dedicated Springsource Tool Suite with having in mind that we are novice in Java?
UPDATE
To provide more information: we want to use the following technologies:
- Spring Framework 3
- JPA (Hibernate)
- Apache Wicket
- Maven
STS has built in Spring refactoring facility - one among a variety of reasons why STS is the preferred choice for spring development. So for example, you were changing the bean names, the STS will automatically update the bean definition XML files.
I personally prefer eclipse over Intellij Idea; since eclipse is more lightweight than IDEA. Since STS is built on top of eclipse, that makes STS my preference too.
All the spring tutorials and examples by springsource are in STS.
STS is free whereas IDEA is not. I haven't used Netbeans though.
I would recommend IntelliJ over Eclipse. I can't speak for STS, since I've never used it, but IntelliJ's Spring support is excellent.
I couldn't disagree more with the comment above stating that Eclipse is lightweight.
STS is the best IDE for Spring IMO. Besides Spring ,it includes Maven, Spring Roo which I like very much and there is a version that includes Google's App Engine SDK and GWT SDK.
I think the biggest reason to go with STS is that the majority of developers using spring choose that IDE. Most of the tutorials, forum posts and documentation you view will be based on STS. I also like how maven and tomcat are prepackaged in the IDE. Also the Spring Template Projects easily port into STS, these projects are extremely helpful because they are prewired. I'm not sure if you can get them through netbeans without a bunch of initial configuration of maven.
I suggest using IntelliJ IDEA. It is the best IDE for developing SpringSource applications in my opinion. You can demo the ultimate version it or use the Community edition.
I like IntelliJ quite a bit. However, if you are an Eclipse shop, look at SpringSource Tool Suite http://www.springsource.com/developer/sts
There are many helpful tools in STS specifically designed for Spring Developers. Check out my DZone Refcard which was just published this week http://refcardz.dzone.com/refcardz/eclipse-tools-spring
I like to use IntelliJ IDEA. It has some advanced code related suggestion which would give not only benefit for Spring Framework, but also other frameworks. To me, it is the complete IDE. For Spring it gives convenient auto detection feature. The code navigation for Spring Framework in IntelliJ IDEA gives uniqueness and convenience.
Related
Hi I'm totally new to development. I'm trying deploy a web application on a local server like glassfish/tomcat. Backend of the app is written in Java and ui is created using HTML/css/js . I'm using maven as well. I'm not able to find a way to get this running on intellij CE .
Apparently this functionality is not supported in CE. Can someone suggest a turnaround or a different IDE as good as intellij idea. I've tried eclipse but I didn't find it completely useful
Thanks
There is no IDE as good as IntelliJ. JetBrains makes the best IDEs on the market.
No, I don't work for them. I have no affiliation at all. I'm just a satisfied customer for the past 13 years who is happy to buy a license with my own money every year.
The comparison matrix for community and ultimate editions makes it clear: You cannot deploy in IntelliJ without a licensed copy.
You can create a WAR file and deploy it manually to Tomcat or Glassfish if you wish. Why not just do that?
I will compliment you on how you are approaching the problem. IntelliJ, Maven, and your other choices are very good.
If you feel up to the challenge, you can look into Spring Boot. You can run an executable JAR and leave Java EE app servers behind. IntelliJ community can easily run a Spring Boot app.
Choosing Spring Boot does mean leaving EJBs behind. Everything you can do with Java EE is available in Spring Boot. You'll be using POJOs.
Now I am trying to learn about Spring step-by-step and read Pro Spring 3 ebook. In this book, the author describes STS. Now I am using with Eclipse IDE and I would like to know about Spring Tool Suite (STS).
1). What are the benefits of using it rather than Eclipse IDE
2). Have there any special features for Spring on it?
3). Is the same Extensions tab of Dashboard on STS and Eclipse market-place?
Please describes to me some useful tips (if has pros and cons) on each.
Thanks in advance!
STS is just a preconfigured eclipse. it is completely free for any purpose.
The pros and cons using STS go hand in hand: it has some plugines preinstalled which might be usefull or simply slow your IDE down. It has stuff you might need and don't need to download but i might has stuff you won't need. as far as i know, you can install all plug-ins that STS has in your eclipse.
I find it easier to set up a spring based project with STS. But if you are developing on an existing project it doesn't matter if you use STS or eclipse.
It depends on what you want.
I'm interested in doing some Java web development but I'm not really interested in using Eclipse. I have used Eclipse in the past and to me it seems to add a layer of abstraction that I'm not really interested in. However, I'm having a bit of upstart problems.
Does anyone have any good references/tutorials in getting up and running with Java web development without using Eclipse (or any other IDE for that matter)?
Create a maven project and use one of the embedded web servers like jetty or Glassfish.
Also, this approach allows you to work with the command line directly or use either Netbeans, Eclipse or IntelliJ as your IDE as they support Maven projects. I do not think that JDeveloper can yet.
(Eclipse may require the m2e plugin from the marketplace, and it handles all the Eclipse configuration transparently and directly. Highly recommended).
You can easily do java web development using notepad only. The extra work is, you have to write some extra code (like in servlet you have to write web.xml http://www.tutorialspoint.com/servlets/servlets-first-example.htm). Same in Struts, Hibernate and Spring framework, you have to write config file in notepad.
I last installed Spring a few years ago and back then it was just some jars I had to add. Now after I googled for Spring, it brought me to SpringSource, a division of VMWare.
It took me through a whole installation process for the SpringSource Tool Suite and it looks cool, but is also bulky.
What are people doing for a robust and lightweight Java MVC framework these days?
Well, Spring MVC is a robust and lightweight Java MVC framework these days ;-)
One "problem", though: it uses Spring itself (of course), which has gotten much bigger over the years. What was once just a dependency injection framework, today is almost a complete Java EE replacement. Meaning: if you want Java EE without a true application server, then use Spring. And that boils down to using Tomcat with Spring in most cases.
So, the true answer is: you can still use Spring without much hassle, but use only what you need, if you really need it. Spring originates from 2003, when Java EE was a real pain in the neck, but nowadays Java EE has gotten more and more simple, almost to the point that it's preferred over Spring, especially EE 6.
Springsource Tools isn't needed for using Spring, but it is recommended for efficient Spring usage. If you stick with XML configuration, lack of tools assistance will hamper you in the long run.
My little rant is over, so I hope I helped you at least a bit.
Springsource Tool Suite is their customized distribution of Eclipse, and no you don't technically need it. You still only need the jar files, which can be found here.
You don't need SpringSource Tool Suite.
Spring is still the most popular lightweight Java MVC framework.
Spring is splitted into different modules (projects) to avoid big dependencies if you don't need them.
List of projects from springsource
spring-framework-3.1.0.M1.zip is 25.6 MB and can be found here
Have fun!
Is there a Java Web Framework, with mvc, thrid-party integration APIs, libraries and tools? Something like Zend Framework for PHP?
There are a lot of Java web Frameworks, here you have a list with lots of them: http://java-source.net/open-source/web-frameworks
The most "famous" would be Struts, JSF or Spring mvc framework (not in that particular order).
Play Framework is more light weight compared to Spring , JSF or Struts. More close to Zend in some sense. and has scala support :)
Using Zend for a while, I found the transition to Spring fairly easy.
Spring does come with more bells and whistles (Dependancy injection, AOP etc)
You also have AppFuse
AppFuse is an open source project and
application that uses open source
tools built on the Java platform to
help you develop Web applications
quickly and efficiently. It was
originally developed to eliminate the
ramp-up time found when building new
web applications for customers. At its
core, AppFuse is a project skeleton,
similar to the one that's created by
your IDE when you click through a
wizard to create a new web project.
AppFuse 2.x is a restructuring of
AppFuse 1.x to use Maven 2 and JDK 5
and annotations. The major reasons we
use Maven 2 are:
Dependency downloading
Easier maintenance (everything can be compiled at once)
Easier upgrading for end-users
If you'd like to help out or ask
questions about AppFuse 2.0, please do
so on the user mailing list. If you'd
like to use AppFuse 2.0, see the Demos
and Videos and use the QuickStart
Guide to get started.