JDeveloper 12.2.1.2 configuration for spring project - java

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.

Related

Include Spring MVC in Netbeans 7.3

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.

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

Problem whille adding project into the websephere 6.1

I am using IBM web-sphere 6.1 as a application server and eclipse as IDE. so i have one project name as MobileBank.ear which contain deployment descriptor file which has one module name as amsejb.jar which is ejb project and some jar files. so while adding MobileBank.ear into the server i am getting the following error " Web-Sphere v6.0 only supports J2EE 1.2, 1.3, and 1.4 Enterprise applications." due to this error i am not able to deploy my ear can anyone guide me please... also MobileBank.ear contains web project though i am not able to add the ear. Kindly Guide me...
Thanks in advance...
Vinod
I am using IBM web-sphere 6.1 ... Web-Sphere v6.0 only supports ... Are you sure you are using WAS 6.1 ?? May be this is what causing the problem
Well, 6.1 really doesn't support more than 1.4 and you're attempting to use newer versions.. You should
Edit the project facets in the project properties to utilize older versions
Not select 6.0 when generating the project as the target. That is used for the remote deployment etc. Eclipse does not really support 6.1/7.x deployment so please generate the generic projects instead.
i deleted the EAR folder ,created new Enterprise Application Project and added all project in that . error got resolved .
I am using WAS 7.0
U need to change the WebSphere Application Server version under Coniguration section while creating a project in Eclipse/RAD.
Then Dynamic Web module version will get changed from 3.0 to 2.5
While creating a dynamic web project,
-- On entering the "project name"
-- we have an option to check "Add project to EAR"
-- Enter the EAR name
-- choose the EAR version on of these - 1.2, 1.3, 1.4 and 5.0
On doing this, we would be able to add the EAR to WAS (I have been using v7)

Can I use Eclipse and GlassFish together?

I use Eclipse as IDE. I use Eclipse to test my Java apps.
But now I want to make website with Spring, Hibernate. Can I do it through Eclipse only or I need to install GlassFish.
After installing GlassFish can I see some button on Eclipse which put required files automatically in required folders, I mean I don't want to manually copy the files in diff directories.
Do I add Spring, Hibernate in Eclipse or GlassFish?
Something like click on create web app.
You should install Oracle Enterprise Pack for Eclipse, which includes GlassFish tools. You can get it from here:
http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/index.html
Alternative, if you have Eclipse IDE for Java EE Developers, got to Window -> Preferences -> Server -> Runtime Environments -> Add. Then click on "Download additional server adapters. That will show you a list of server adapters that Eclipse knows about, including GF Tools from OEPE. The wizard will guide you through the process of installing it.
Beyond that, if you need help using Java EE facilities of Eclipse, google "Eclipse WTP tutorial" or similar. There are many articles written on the topic.
No, you don't require Glassfish. You can use any Java web-app container like Jetty, Tomcat, Weblogic etc. Tomcat is the easiest to integrate with Eclipse.
I have used Glassfish previously, but much like stand-alone. I have never integrated Glassfish with Eclipse, but it seems like as easy as Tomcat integration. See here.
http://dlc.sun.com.edgesuite.net/glassfish/eclipse/
and
here
http://dlc.sun.com.edgesuite.net/glassfish/eclipse/GF-Tools-for-Eclipse-Guide12.pdf
As quoted in the guide
To publish Projects
To publish applications to the GlassFish Server, use the following procedure:
Select Servers view.
Select GlassFish Server.
Right click and select Publish fromServer popup menu.
The selected applications are published to the GlassFish Server.

Categories