JDeveloper 11g and Spring - jdeveloper

I new to Jdeveloper. I want to build a sample Spring web app.
In making a new application, I chose "Java EE Web Application" and JDev made the application and two projects. I did not see how to add Spring.
Should Spring show up as one of the "Project Technologies" from which to choose?

Which version of JDeveloper are you using? Earlier versions require you to download the Spring Extension.
Basic instructions here:
http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/spring/spring-extension.html
http://www.oracle.com/technology/products/jdev/howtos/1013/SpringwithJDev/index.html

Related

Spring Tool Suite 4 not showing option for JSP file

I am following a tutorial that wants me to add a JSP file to the exercise. When I try to add a 'Other' in the Wizard and search for JSP, it is not an option. Spring Tool Suite 4 not showing option for JSP file.
What resource am I missing and how do I add it?
I also have a warning no JRE's installed, is this related to my issue?
Found this solution in StackOverflow
If anyone is having this issue with Sring Starter Project in Spring Tool Suite 4:
Help -> Install New Software -> WorkWith Spring Tool Suite 4
Scroll to bottom and select :
Web, XML, Java EE and OSGi Enterprise Development
By default, the JSP files are not included in the suite.
In your suite,
Just go to Help -> Eclipse Marketplace -> type Eclipse Enterprise Java and Web Developer Tools (version = latest one is 3.22) and install it
Then restart your suite and check now.

What's the best way to create a Java EE project (maven+git) using Spring tool suite?

I see that there are many kinds of project you can create with Spring Tool Suite.
I'm wondering what's the best choice if I should create a Java Enterprise Edition project, integrated with maven and git.
Is there a specific project to select, in order to have straight away all the environment ready?
From the Spring perspective, I would strongly recommend to start with a Spring Boot project and go from there, using the new Spring Tools 4 (or the Spring Tool Suite version 4). It provides wizards to get started quite easily.
If you don't want to use Spring Boot, but something else from the Java Enterprise Edition standard in combination with Spring, I would recommend to use the Spring Tools 3 distribution (comes with the full Java EE tooling from Eclipse pre-installed) or install the necessary parts from Eclipse into a Spring Tools 4 installation. Which parts you need highly depends on which parts of the Java Enterprise Edition spec you would like to use - the general term "Java Enterprise Edition" is very broad and it is hard to give any advice without knowing which parts you would like to use or what you would like to accomplish.

How I can know whats new in specific version of spring

I want to know which changes spring has in his 1.5.9 version, and in 2.0 version,
how I can find a list or something else?
You're confusing:
the Spring framework, in release 5.0.2 as of today, which is an application framework and inversion of control container for the Java platform
Spring Boot, a convention-over-configuration solution for creating stand-alone, production-grade Spring-based Applications that you can "just run", currently in release 1.5.9, with an impending 2.0.0rc1 release.
You can find the release notes here for release 1.5.9, and here for release 2.0.0.

How to use Maven, Spring, Hibernate (JPA) on Netbeans or Eclipse

Being extremely very new to Java EE, I am trying to build a rest api with a database layer.
I am using Netbeans 7.2 and Glassfish because they were easy to install on my Mac OSX Lion. From netbeans I open a project with Maven, choosing archetype weby. What I am going for is Maven, Spring, and Hibernate with JPA. Also I am using restlet for my Rest API layer. Anyway, the tutorials I find online, along with the book Spring persistence with Hibernate [electronic resource] / Paul Tepper Fisher and Brian D. Murphy keep refering to /src/main/resources/META-INF/spring/spring-master.xml. But the project has no such folder. Instead the project has the /main/resources/hibernate.cfg.xml and a folder about jdbc connection.
Basically I am stuck. Some questions:
Am I using the correct Maven Archetype? Is there another way to get what I am looking for (using Netbeans or Eclipse on my Mac)?
I don't want to spin around too much, which is why I have not manually added the /src/main/resources/META-INF/spring/spring-master.xml, especially since I am not sure what to put in it.
Others opinions is greatly appreciated.

Confused about using SpringMVC Vs Java EE project in Netbeans

I want to start a my first Java EE project. I have read a lot that springMVC framework is a good choice (never used though)
My earlier experience with java is not much. only some small app development using Netbeans. so I have some experience using Netbeans.
But I see that I can start a Java EE project in Netbeans. so what kind of framework netbeans is using underneath.
PS: My understanding of framework (e.g. SpringMVC) is that you follow rule of framework to configure your app. and then framework take care or linking your View, controller and model.
so if i am using netbeans, do i need to take care of linking of my MVC by myself?
I see that I can start a Java EE project in Netbeans. so what kind of framework netbeans is using underneath.
Hmm... Nothing. NetBeans is just an IDE and let you use whatever framework you want: JSF 2.0, Wicket, Struts 2, Stripes, Spring MVC, your own poison. Of course, one could say that NetBeans promotes (and supports) JSF 2.0 but this doesn't mean you can't use another framework, just add the required libraries to your project.
In any case, Spring MVC is just one options amongst others and is not an absolute requirement to write Java EE applications. Some Java EE applications don't even have a web interface actually. And believe it or not, you can write Java EE application - especially Java EE 6 applications - without Spring :)

Resources