About Eclipse

tutorial

Step 4: Add a Servlet Class

Explains how to define an EJB session bean in an Eclipse Java EE 6 web application. In this step we will add a servlet to manage guestbook web requests: Open the [Create Servlet] dialog box by right clicking the guest package node (in the [Package Explorer] window), selecting  New > Other... > Web > Servlet and clic ...

 
tutorial

Step 2: Define a JPA Entity Class

Explains how to create a JPA entity class in the Eclipse IDE. To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window) and selecting New > Class ...

 
tutorial

Step 3: Add a Context Listener Class

Explains how to add a servlet context listener (to manage an application scope EntityManagerFactory) in an Eclipse Web Application. The Guest entity objects will be stored in an ObjectDB database, which will be represented by a JPA's EntityManagerFactory javax.persistence.EntityManagerFactory JPA interface Interface used to interact with the entity manager ...

 
tutorial

Step 3: Define a Spring DAO Component

Explains how to define a JPA DAO component (bean) in an Eclipse Spring MVC JPA web application project. Operations on the database will be performed by an instance of a Data Access Object (DAO) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right clicking the guest packa ...

 
forum_thread

Eclipse plugin problem (using ObjectDB as a separate bundle)

Hello support, I have seen multiple attempts to correct similar errors as in the title above - the latest in the 2.2.8.01 release of objectDb. However I still get this error.   Here is my scenario (Groovy 1.8 and Eclipse 3.6) used. I have a com.epimss.lab.data.toxicology.TherapeauticDrugScreenRqst. Nested in this class are the following two classes: com.epimss.lab.data.misc.OtherRqst and com.epimss.lab.data.misc.RequestDateAndNumber. ...   Here is my scenario (Groovy 1.8 and Eclipse 3.6) used. I have a ... In my Eclipse wizard performFinish() method I persist the TherapeauticDrugScreenRqst ... TherapeauticDrugScreenRqst, with or without restarting my eclipse product results in the following stacktrace: [ObjectDB 2.2.8_01] ...

 
forum_thread

How to resolve 404 errors with Eclipse/Maven Spring MVC

I have created a project as guided by www.objectdb.com/tutorial/jpa/eclipse/spring/run. When I abandon eclipse and use the maven command line to deploy this Spring MVC web app to jetty and point my browser to localhost:8080/Guestbook/ it works as your tutorial says! ... a project as guided by www.objectdb.com/tutorial/jpa/eclipse/spring/run. When I abandon eclipse and use the maven command line to deploy this Spring MVC web app to ... as your tutorial says! However, when I use  Eclipse Juno (eclipse-jee-juno-SR1-win32-x86_64), maven 3 and Tomcat 6 to ...

 
issue

Better support for ObjectDB in Eclipse Plugins

ObjectDB can be used in Eclipse plugin, but currently it has to be embedded in the plugin and cannot be used from other plugins in which it is not embedded. More details can be found in the following forum threads: ObjectDB eclipse plugin Eclipse plugin problem (using ObjectDB as a separate bundle) ClassCastException of same object type javax.persistence.PersistenceException ... ObjectDB can be used in Eclipse plugin, but currently it has to be embedded in the plugin and cannot be ... found in the following forum threads: ObjectDB eclipse plugin Eclipse plugin problem (using ObjectDB as a separate ...

 
forum_thread

ObjectDB eclipse plugin

Hello, Creating an eclipse plugin from the downloadable objectdb.jar file DOES NOT work in the eclipse OSGi environment (at least that is my experience). Could we have a genuine eclipse plugin from ObjectDB that works? You already have a pluging that integrates Objectdb with BIRT, so it seems it should not be difficult. The downloads could now have both the eclipse plugin as well as the usual jar. Let me know what you think.   Thanks ... Hello, Creating an eclipse plugin from the downloadable objectdb.jar file DOES NOT work in the eclipse OSGi environment (at least that is my experience). Could we ...

 
forum_thread

Eclipse - Maven - Dependencies not getting automatically reflected

I have installed Java 1.7 Eclipse Juno From Eclipse Market place have installed - Maven Integration for Eclipse WTP (a.k.a m2e-wtp), m2e-apt, Spring IDE, The Spring Tool Suite™ (STS) Have defined M2_HOME as directory where Maven is installed. PATH updated as %M2_HOME%/bin I am working on Windows XP. ... I have installed Java 1.7 Eclipse Juno From Eclipse Market place have installed - Maven Integration for Eclipse WTP (a.k.a ...

 
forum_thread

Eclipse/JPA database tutorial

Hello Sir/Madam, I followed all the steps correctly as given in the tutorial. But when i run it , I'm getting an error saying, the resource not available. Please help regarding the issue as soon as possible. Thank you. ... Could you please upload the project? What version of Eclipse are you using? ObjectDB Support ObjectDB ... chance? I have uploaded the project. Its eclipse juno. Thank you. Guestbook.rar ...