Internal Website Search

51-100 of 200 results

Database is erased after deploying a new web application version

Hello, I'm a new ObjectDB user and currently working on a Java web application that's running ... it: When running a new web application version, I get an exception saying this file could not be opened (which createEntityManager throws). It happens even when I first stop the current web application

Problem undeploying Glassfish3.1.1 web application cleanly

objectdb-2.3.7_18 When I undeploy a Glassfish3.1.1 web application when using @PersistenceContext ... embedded mode. What is the correct procedure for undeploying such a web application that prevents ... a new Netbeans web application and copy example source and persistence.xml into it and run it ok as

New Web Application Tutorials

New ObjectDB/JPA tutorials have been published today: Eclipse/JPA Web Application Tutorial NetBeans/JPA Web Application Tutorial The new tutorials demonstrate how to build a simple database driven web application using ObjectDB and JPA. Understanding these tutorials requires some familiarity

Compile time enhancement using build.xml of a Netbeans web application

of a Netbeans web application project to specify ObjectDB compile time enhancement, for both single ... a Netbeans web application build.xml works for an entire build:         ... and does not execute the -post-compile-single Ant task in the usual Java web app build.xml. However, I

Unable to run NetBeans/JPA Web Application Tutorial

I followed each and every step of NetBeans/JPA Web Application Tutorial but when i am trying to run the web application the following error is prompted on the run console: Start is in progress... start?path=/GuestBook FAIL - Application at context path /GuestBook could not be started C:\GuestBook

Undeploying Glassfish web application does not disconnect from ObjectDB

Glassfish3.1.1 Netbeans7.1 ObjectDB 2.3.7_19 If I deploy a web application to Glassfish using ObjectDB as JPA provider, then undeploy, I can't access the database file in the ObjectDB explorer ... ObjectDB in embedded mode? Apparently undeploying a web application from GlassFish doesn't close

Chapter 6 - Configuration

changes the value of $objectdb . For example, in a web application , in which objectdb.jar is located in WEB -INF/lib , the ObjectDB home directory ( $objectdb ) is WEB -INF . You can also define $objectdb

Database Connection using JPA

functionality for performing operations on a database. Many applications require multiple database connections during their lifetime. For instance, in a web application it is common to establish a separate ... , but it is a one time operation. Once constructed, it can serve the entire application . Operations that modify

Undeployment of an remote Glassfish application locks objectdb log file

an external directory (not in the web application under Glassfish)? support Support I tested to set ... still locked. Anyway, until this is solved the workaround of using a log file outside the web application directory should be used. support Support ... WebApplication with a "hello world" web service interface in Netbeans. Add objectDB test code to the web

multiple different applications access one odb file

have experience with this. thanks peric.emil Emil Perić If you can run all these 3 applications on your web ... Hi, is it possible to access one odb file from different applications ? What we would like ... and the other one would be for exposing the DB data via web services. Do all these apps need to have the same DB schema. The BIRT

Web Framework Recommendation for leveraging JPA + ObjectDB

web applications are: Servlet container (Tomcat / Jetty) with servlets and JSPs. Java EE application ... like ObjectDB, for instance. Immediately the following question pops up: Which Web Framework supports ... + ObjectDB" couple successfully in conjunction with a contemporary Web Framework ? Any hints

What are the steps of creating small web app?

Hello guys, I have a question about creating small new web application , I am almost done with researching and studying and I have covered all the important concepts e.g. # Starting from web ... because they are cloud hosting,  Pay as You Go (PAYG) . - Which IDE and Application Server do you prefer

How to use ObjectDB properly in spring boot application?

I have a spring boot application with objectdb embedded database. I am manually handling ... in order to properly close connections. I want to refactore my application so that database ... ; https://spring.io/guides/gs/accessing-data-jpa/ ) I had a research on the web but could not find any

Does ObjectDB create one instance of each entity class on (web app) load ?

a large web app with the NetBeans 8.2 Profiler. I can see that exactly one instance of each entity is present in memory, at web app startup, before I've loaded anything, and they won't garbage collect ... to the EntityManager metamodel for caching some oft-used information in an application -wide

ObjectDB License

and laptops of employees in that workplace. Servers that are leased or rented from third party web hosting and/or cloud hosting companies (including shared web hosting and VPS), if the hosted applications that use ObjectDB are developed and managed only by employees in that workplace. Purchase

Online Backup

in applications that provide round the clock service (24/7/365) such as most web applications ... An ObjectDB database can be backed up by simply copying or archiving the database file while the database is offline (i.e. when it is not open in an ObjectDB server and not in use by any application

Web Application Tutorial

A tutorial that demonstrates how to use ObjectDB in a web application should be written and added to the Tutorials section. support Support The following web tutorials are now available: JPA Web Application in Eclipse JPA Web Application in NetBeans Java EE 6 (J2EE) in Eclipse Java EE 6 (J2EE) in NetBeans support Support

JPA Entity Fields

above are required when applicable . ObjectDB, however, does not enforce using any of these annotations ... and the Department classes, and the application is responsible to keep them synchronized. Inverse fields ... and make their values accessible to your application by marking the version fields in your entity classes

ObjectDB - JPA Object Database for Java

  Boost your application database performance. Database performance is critical as it is the bottleneck in most applications . ObjectDB is extremely fast and much faster than any other JPA ... and eliminates the ORM layer. The result is better performance and faster applications , especially

Server Configuration

to the document root directory of a web server. Every database file in the data directory and in

Spring MVC JPA Tutorial - Maven Project

/JPA Spring MVC database driven web application in  Eclipse or  NetBeans . Building a new application step by step is an effective way to learn - but if you prefer, you may download and run the finished application as a Maven project: Spring MVC JPA - Maven Project (8KB) If 

What is the Java Persistence API (JPA)?

applications . The main advantage of JPA over JDBC (the older Java API for interacting with databases ... representation in the relational database (as tables and records) and the representation in the Java application ... you can keep your application portable. The unique benefit of using ObjectDB is that the overhead of an intermediate ORM

JPA Primary Key

generation is discussed in detail in the Generated Values section. Application Set Primary Key ... value is not generated and the application is responsible to set a primary key by initializing ... class Project { @Id long id; // must be initialized by the application : } A primary key field

Spring MVC and JPA Tutorial

This tutorial demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application using Tomcat (or GlassFish), JPA, ObjectDB and Maven. The demo web application manages ... addition, the demonstrated application is available as a Maven project:

Eclipse/JPA Java EE Tutorial

This is the Eclipse version of the Java EE JPA tutorial. It demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application in Eclipse - using GlassFish, ObjectDB and JPA. The demo web application manages a basic guestbook page. Every visitor

NetBeans/JPA Java EE Tutorial

This is the NetBeans version of the  Java EE JPA tutorial. It demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application in NetBeans - using GlassFish, ObjectDB and JPA. The demo web application manages a basic guestbook page

Step 4: Add a Servlet Class

In this step we will add a servlet to manage guestbook web requests: Open the [Create Servlet ... ; New Other... Web Servlet and clicking  Next . The Java package name should be guest. Enter ... the application server into the guestDao field automatically (since the field is marked with the @EJB

WeakRef Purge ObjectDb threads not stopping with Tomcat (in application container)

? • When we perform web application reloads on our servers we observe memory leaks.  As the memory allocated to the previous web application instance is not garbage collected ... ;          The web application [CAPReportServer##000.00

Retrieving JPA Entity Objects

is then added to the persistence context as a managed entity object and returned to the application ... to ensure that the application deals with the most up to date version of an entity object, just in ... may continue recursively when applicable (e.g. to entity objects that the Address object references, if any).

What are the main benefits of using ObjectDB?

By using ObjectDB you can reduce development time and costs and improve your application ... the execution time of object oriented applications significantly. For instance, collection and map ... , eliminating the intermediate ORM layer further accelerates applications . For instance, ObjectDB

Is ObjectDB better than Object Relational Mapping (ORM)?

of a relational database is mandatory (e.g. as a result of a customer request or when a new application ... ), you can develop portable applications that can use both ObjectDB and relational databases. This way you have the best of both worlds - use ObjectDB when applicable for faster development and better

Shared (L2) Entity Cache

. the broader scope of this cache makes it useful in applications that use many short term  ... when the database might be updated by other applications (or using other EntityManagerFactory instances ... : cache. evictAll (); The Cache interface and its methods are unnecessary in most applications .

Step 4: Add a Servlet Class

In this step we will add a servlet to manage guestbook web requests: Open the [Create Servlet ...   New Other... Web Servlet and clicking  Next . The Java package name should be guest ... is retrieved from the application scope attribute, and then an EntityManager (representing a database

Java EE 6 JPA Tutorial - Eclipse Project

To open and run the Java EE 6 Web Application tutorial project in Eclipse: Download and extract the project zip file: Java EE JPA Web App - Maven Project (7KB) Open the Maven project in Eclipse: Select  File Import... Maven Existing Maven Projects and click  Next . Select

Java EE 6 JPA Tutorial - NetBeans Project

To open and run the  Java EE 6 Web Application tutorial project in NetBeans: Download and extract the project zip file: Java EE JPA Web App - Maven Project (7KB) Open the Maven project in NetBeans: Select  File Open Project... . Select the  guestbook-jee6 directory

Step 4: Add a Servlet Class

In this step we will add a servlet to manage guestbook web requests: Open the [New Servlet] dialog ... ; GuestDao session bean, which is instantiated and injected by the application server into the  ... is adding a JSP page that will serve as the application view and will produce the guestbook output.

Apache License, Version 2.0, January 2004

of Warranty . Unless required by applicable law or agreed to in writing, Licensor provides the Work ... otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in

Storing JPA Entity Objects

. It is the application's responsibility to verify that when an object is stored in the database, the entire closure ... recursively when applicable (e.g. to entity objects that the Address object references, etc.). Global

Detached Entity Objects

instance, which is then automatically detached as well. Cascading may continue recursively when applicable ... when applicable (e.g. to entity objects that the Address object references, if any).

JPA Persistable Types

only useful in applications that use an ORM-based JPA provider (such as Hibernate, TopLink, EclipseLink ... of the original java.util.ArrayList . Most applications are not affected by this, because proxy classes

Schema Update

when persistable classes are renamed or moved to another package. Running the application ... the application is run only with the configuration that matches these changes exactly. The default

Spring MVC JPA Tutorial - IntelliJ Project

the Server: Select  File Settings Application Servers . Add Tomcat 6 Server if not set already (Tomcat ... +F10 ). If the browser fails to open check the settings at  File Settings Web Browsers .

Step 4: Add a Servlet Class

In this step we will add a servlet to manage guestbook web requests: Open the [New Servlet] dialog box by right clicking the guest package node (in the [Projects] window) and selecting New Servlet ... on every http request: The EntityManagerFactory is retrieved from the application scope attribute

Step 3: Define an EJB Session Bean

application servers such as GlassFish and JBoss, and not by servlet containers, such as Tomcat and Jetty. By using EJB classes we can move some work from the application to the EJB container (i.e. to the application server). For instance, in this application the server: Manages the instantiation

Getting Started with JPA

This tutorial demonstrates how to create and run a simple JPA application . The demonstrated application uses JPA to store and retrieve simple  Point entity objects, where each  Point ... support of JPA. The sample application is also explained in details in  Chapter 1 of the 

Step 3: Define an EJB Session Bean

are only supported by Java EE application servers such as GlassFish and JBoss, and not by servlet containers, such as Tomcat and Jetty. By using EJB classes we can move some work from the application to the EJB container (i.e. to the application server). For instance, in this application the server: Manages

Getting Started with JPA - Maven Project

JPA database driven application in Eclipse or NetBeans . Building a new application step by step ... application as a Maven project:      Getting Started with JPA - Maven Project (3KB) If Maven is installed - extract the zip and run the application from the command line by: mvn test

javax.jdo.annotations.IdentityType.APPLICATION

JDO Enum Constant in javax.jdo.annotations.IdentityType APPLICATION Since: JDO 2.1

[ODB1] Chapter 9 - ObjectDB Explorer

databases.   9.1  Running the Explorer The Explorer is a pure Java GUI application ... the Explorer on Windows using the explorer.exe application , located in the bin directory. Notice ... other applications . If the database is modified by another process the viewer windows in the Explorer might display

[ODB1] Chapter 2 - A Quick Tour

Person sample program, which demonstrates the process of building a minimal JDO portable application ... a portable JDO application , only instances of persistent classes are stored directly in the database ... , the application should be deployed with ready to use enhanced classes and without the eMain class