ObjectDB ObjectDB

Internal Website Search

181-190 of 200 resultsRefresh
1

Can I use ObjectDB with languages other than Java?

ObjectDB can be used by Java Virtual Machine (JVM) languages, such as Java, Groovy and Scala. It can also be used with other languages, such as Python, JavaScript, Ruby and PHP, but currently only with their JVM implementations (e.g. Jython for Python, JRuby for Ruby and Quercus for PHP). A version
1

JPA Annotations for Classes

policy (as explained in chapter 3): Another JPA class annotation defines an ID class: ID classes are useful in representing composite primary keys as explained in the Primary Key section of the ObjectDB manual.
0

JPA Web App Tutorial - Eclipse Project

> Import... > Maven > Existing Maven Projects and click Next. Select the guestbook-web directory as Root ... click the project node and select Run As > Run On Server. (this command is available only if Maven
0

Step 4: Add a Servlet Class

... Enter GuestServlet as the class name - use exactly that case sensitive class name. The Java ... page that will serve as the application view and will produce the guestbook output.
0

Step 2: Define a JPA Entity Class

) and selecting New > Java Class... Enter Guest as the class name - use exactly that case sensitive class name. Enter guest as the package name - use exactly that case sensitive package name. Click Finish
0

Step 1: Create a Web Project

(e.g. Guestbook). Select Apache Tomcat v6.0 as the Target runtime. Note: You may have to add Tomcat 6 as a new server by clicking the New Runtime... button. Follow the instructions and specify
0

Step 3: Add a Context Listener Class

> Other... Select Web > Web Application Listener and click Next. Enter GuestListener as the class name - use ... the entity class and creates an EntityManagerFactory instance and stores it as an application scope
0

Getting Started with JPA - Eclipse Project

directory as Root Directory and press ENTER. Select the project and click Finish. Run the project in Eclipse: Right click the project node and select Run As > Java Application. Select Main - point and click OK.
0

Step 4: Add a Servlet Class

GuestServlet as the class name - use exactly that case sensitive class name. Click Finish to create the new ... annotation). The next step is adding a JSP page that will serve as the application view and will produce the guestbook output.
0

Which API should I use - JPA or JDO?

. Therefore, it might be the first choice for most new applications. You can use JPA as the primary API, and if necessary, switch to JDO as a secondary API for special additional features

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support