Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

configuring Eclipse Helios with JBoss 4 and oracle 10g Express edition

 
Kumar Ranjan Singh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am trying to connect Eclipse Helios with JBoss 4 and oracle 10g Express edition but I am not able to complete the process...can some one please guide me with the steps...I am a fresher just cleared the OCPJP exam last week and need to practice for my OCPWC exam.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kumar, welcome to Java Ranch!

First, it would help if you described the problem that you ran into, we could then provide advice concerning that particular issue. The general information you get from a "how to" question like yours only gives general advice and usually doesn't cover issues that you can run into.

Which exact version of JBoss AS 4? There are huge difference among the 4.0.x version and 4.2.x versions.
Have you installed JBoss Tools? The JBoss Tools documentation can help you get started.
Also, why JBoss AS 4? All of those versions are very old. You should be using either AS 6 or 7.

But here is a quick start guide:
In Eclipse, do File | New | Server then choose your version of JBoss AS from the menu. Then when you create an EJB or dynamic web project, select that server. That's it for configuring JBoss AS in Eclipse. For Oracle, create a *-ds.xml file for you by you app. There are examples in jboss_home/docs/examples/jca.
 
Kumar Ranjan Singh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Peter...!!! I took your advice and successfully installed JBoss 7.1.1 application server. But still not able to configure database with my eclipse Indigo IDE...

Now I am trying to configure Derby database and I have reached half the way... here is what i have done till now...

1> Downloaded the derby plugins
2> unzipped and saved the ui, doc and core plugin at C:\eclipse\plugins folder

After that, what I have to do within the ide to use the data base I am not able to understand...Till now I am using NetBeans which seems like I am getting a spoon feeding. So, please help me...!!!

 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I never do anything in Eclipse to gain access to a database. The JDBC calls are already in the JDK, so there is nothing to add - you can just code your Java apps to use JDBC. Or are you using an ORM tool such as Hibernate? Then there are extra things that need to be done.

One thing you will have to do is configure JBoss AS 7.1.x to create a datasource. See this:
https://docs.jboss.org/author/display/AS71/Developer+Guide#DeveloperGuide-UpdatetheDataSourceConfiguration
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic