Include Spring MVC in Netbeans 7.3 - java

Using Netbeans 7.3, Spring MVC does not seem to be bundled with the IDE. I thought this would be the case, but only JavaServer Faces and Hibernate are included when it comes to web frameworks. Do I have to activate it somehow? In Eclipse it is easy to download additional frameworks from within the IDE. How do I do this in Netbeans? I use glassfish locally, but that's OK with Spring MVC isn't it?

I just created a Web Project like the one in your comment and Spring MVC is there in NB 7.3. (Windows, Java 7)
Anyway, the following steps should help you recover it:
Open the Tools > Plugins window and go to Installed tab
Check the Show details box and look for Spring Web MVC ,it might be installed but deactivated. In that case activate it.
In case is not installed then go to the tab Available plugins
Look for Spring Web MVC and install it
Restart NetBeans

I would use maven too.
You don't have to master it, just add dependencies for the time being. And it would still work in case you switch your IDE.

NetBeans includes full Maven support since version 6.7. I would use Maven to pull in the spring dependencies by adding them in the pom.xml file.

Related

Can I have Spring Tool Suite and Eclipse at the same time ?

I want to develop my own Spring Boot Application using Spring Tool Suite, but at the moment I am using my Laptop for work where I use Eclipse (I'm working with a big project that is using Spring MVC). I am wondering if there will be complications whenever I start working with my own Spring Boot app using STS.
STS is eclipse (actually it's some plugins for eclipse). But, yes. You can have as many eclipse installations as you like; just don't mix workspaces and everything will "just" work. You can also use m2e and maven to get spring-boot working with-out the STS plug-ins.

JDeveloper 12.2.1.2 configuration for spring project

We are swapping between intellij idea project to JDeveloper (not funny :( )
And I have to configure JDeveloper for it.
For now I installed tomcat extension http://blogs.oracle.com/shay/resource/TomcatExtension_11.1.2.zip
and Installed Spring support via Help > Check for updates
I'm looking for some tutorial/Documentation/blog post etc how to configure JDeveloper for technologies like maven, spring, tomcat, hibernate, js.
Do you guys have any ideas or experience?
All what I can find on internet is already deprecated(For example from 2006) or in Brazilian language
Which version of JDeveloper are you using?
JDev 12.2.1 has maven built in.
To get Spring and Hibernate in just click the tools->manage libraries and add libraries with the right jar files.
Then add these libraries to the project properties for the projects that require them.

How to run Vaadin 7.3.9 Projects having IvyDE and Annotation servlet configuration with RunJettyRun in Eclipse?

Prior to the actual version of Vaadin (7.3.9) it was possible to create and run Vaadin 7 projects in a fancy way just using the RunJettyRun -> https://code.google.com/p/run-jetty-run/ plugin.
Now that Vaadin has migrated its configuration from web.xml to annotations (Java Servlet API 3.0), I noticed that if I deploy a Vaadin 7 project created with the vaadin 7 eclipse plugin New Vaadin 7 Project wizard (the one which uses Ivy as the dependency manager and build automation tool, below a screenshot of the project structure):
When I select Debug as -> Run Jetty and run the project, I get a 404 Not Found either for the http://localhost:8080 or for the http://localhost:8080/project-name URLs.
I can use Tomcat, but sometimes the deployment gets really really slow, Tomcat hangs and every time I deploy a new project in Tomcat I need to restart it before the new project can be ran on the server. With Jetty local deployment is simpler and faster IMHO.
I can also use Jetty together with Maven, but I need to work with Ivy, i.e. create Vaadin projects through the plugin's wizard.
How can I still use the Jetty speed when I develop a Vaadin 7 application now?
Create a new Vaadin 7 Project with Servlet API 3.0 using the wizard
Resolve dependencies and compile everything
Select Run as/Debug as -> Run/Debug Configurations
Select Jetty Webapp -> New launch configuration
Select a Jetty Version: -> 8.x or newer (required for Servlet API 3.0)
Hit Run/Debug

What plugins do I need for Dynamic Web Project or Spring MVC development in Eclipse

I am looking for what plugins I need for Dynamic Web Project or Spring MVC development. The Eclipse installed my package manager of Arch Linux doesn't have that (as expected), and I don't want to download Eclipse EE if possible. I am sure I can accomplish the same result using the Eclipse I have now.
I believe Dynamic Web Project will suffice, how do I get it up
Also tried to install the Spring Toolkit but I keep getting dependencies errors (I suppose I should start with getting Dynamic Web Project up first ...)
Go download the Eclipse Java EE package.
Go into Help -> Eclipse Marketplace -> Search for Spring Source Tool Suite and install it.
This is all you need. Hope it helps.

Not able to Create a JSF Project in new Eclipse Indigo M6a Java EE using JBOSS Tools 3.3.o M1

I have followed the below link to install and configure JBOSS Tools in Eclipse Indigo to work on a JSF project
http://planet.jboss.org/post/jboss_tools_milestone_for_eclipse_3_7_m6_indigo
Steps i followed.
1.Installed Eclipse
2.Configured Proxy
3.Loaded the Urls as specified in above link
however many of the packages fails during installation and i cant see a JSF project in the new project list.
What could be wrong here?. Please help me with some pointers.
You're reading an outdated tutorial. Eclipse Indigo was already finalized a few weeks after that tutorial was written. Even more, it's already in SR1 stage. You can download it here. Finally, you can try to install the JBoss tools through the following URL:
http://download.jboss.org/jbosstools/updates/development/indigo/
It works at least for me.
Please note that you do not necessarily need JBoss Tools in order to be able to create a JSF project. It's already built in Eclipse for Java EE. Just create a new Dynamic Web Project. JSF is available as one of the project facets which is configureable in the Configuration option of the 1st step of the Dynamic Web Project wizard.
The JBoss Tools is just an additional plugin which eases JSF development with several additional (autocomplete) wizards.
See also:
JSF 2.0 tutorial with Eclipse and Glassfish - contains a lot of helpful screenshots

Categories