Internal Website Search

51-100 of 200 results

Database server with an application

Hi, I read the database server section of the manual - and it looks like it is not possible to connect to a Database embedded with an application from another application - is that correct? The way to go is to have the DB server running by itself and then the 2 other applications connecting

Access to client/server database from multiple applications

Is there a preferred way to run a client- server database so that updates from one application are immediately visible to another? The way I managed this was to run PersistenceManagerFactory.getDataStoreCache().evictAll(true,MyClass.class) to ensure that a query on MyClass would contain updated

Embedding ObjectDB on server application

I'm trying to integrate ObjectDB as part of a server software I am developing. I'm a little lost ... on 4th line is server app's trace) javax.persistence.Persistence.createEntityManagerFactory(Persistence ... . support Support That is precisely the issue! Since I have to export the project from eclipse, the server

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 ... application (WAR file) and deploy it from Tomcat's manager, I get a new empty database. I assume ... )? If the database is located in a directory that is cleaned by the web server on every new deployment

Undeployment of an remote Glassfish application locks objectdb log file

the "domain1\ applications " folder on the Glassfish server and find that the WebApplication ... ; Compile and deploy the WebApplication to an remote Glassfish server . Don't forget to set an admin password on the Glassfish server and enable "secure admin". Now, log in remotely to the Glassfish

multiple different applications access one odb file

Hi, is it possible to access one odb file from different applications ? What we would like to accomplish. We have one app (runs on Wildlfy server ) and it uses xyz.odb DB file. The other two apps ... have experience with this. thanks peric.emil Emil Perić If you can run all these 3 applications on your web

How to have a distribuited GWT application with ObjectDB and Spring?

Hello to everyone! I've been developing a GwT application as a project for my computer science faculty. It consists in 2 or 3 hosts running it, each of one has a client and a server ... has got its own client/ server in the same host. The problems comes out when point A has finished

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

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 EntityManager injection, using the undeploy feature under the Glassfish server node   ... embedded mode. What is the correct procedure for undeploying such a web application that prevents

How to connect to an embedded ObjectDB in a JPA/JEE application?

It is easy to change the properties in persistence.xml file to connect to an ObjectDB server . But I could not find any reference who to connet to an embedded objectdb in a JEE/JPA application ... the client- server connection url with an embedded connection url, e.g. an absolute file path

Integrating the ObjectDB logging into the application logging based on slf4j

We would like to write the logs of ObjectDB with into the log of our application . What do you use for logging? With or without slf4j and if so, what concrete implementation? Do you see a way ... it to work (e.g. in client server mode on the client side and on the server side). support Support

Pessimestic Locking doesn't release when application unexpectedly terminates.

;   Is there anyway the server can detect that a client (lock owner is no longer connected ... of a failed connection the server can still accept requests for reconnecting in a transparent way ... with the performance and stability of objectdb server . We've tried various in-memory solutions and Objectdb blows

virtual servers and one file

Hi ObjectDB Team In the past, we have often found that our customers use virtualized servers ... instead of a few milliseconds. Copying the database to an explicit server solves the problem ... files access and only part of the virtual file is in the virtual server's cache. Have you ever heard

Evaluating ObjectDB for SaaS Application

of one writer and multiple readers provides better performance because the coordination between the servers

Server connection management

The server does not appear to release broken connections. My typical development pattern ... tomcat. After a few days of this, the server stops responding, and I see the following in the server ... (TOL.java:115) at com.objectdb. Server .runCommand( Server .java:200) at com.objectdb. Server .run( Server

Connecting to a remote objectdb server

I am trying to configure my application in a client- server objectdb setup via tcp/ip. So I first made sure that the remote objectdb server is running using telnet from my local.  $ telnet db.mydomain.com 6136 (worked fine, is able to connect...) My db was configured below: On my application

Client server mode no longer works after JRE install

Hi I had client server mode working with no problems with my application . Then suddenly I ... java from the machine and included a jdk in my application there were no problems, client server mode ... application . So how do I do server -b -client? cmahony Craig Mahony Hi. I fumbled around with batch files

Mismatch client-server protocol prefix

.springframework.orm.jpa.JpaSystemException: com.objectdb.o.UserException: Mismatch client- server protocol prefix ... client- server protocol prefix] with root cause com.objectdb.o.UserException: Mismatch client- server ... :757) I checked multiple times if the versions match. They do. DB server version 2.6.2. Client

How to develop for a server license

Hello, our company recently aquired a server license, which can only be activated ... the application without restrictions if they can't use the key to generate an activiation code for their local objectdb? Can they simply use the generated activation code of the server (linux) or do they need

ObjectDB Overview

processing, etc.) but in a way that makes development easier and applications faster.   ObjectDB ... - Server mode and Embedded mode. Single JAR with no external dependencies. Database is stored as ... environments. Can easily be embedded in applications of any type and size. Tested with Tomcat, Jetty

SSL Configuration

in client- server mode, for both the client side and the server side. The default configuration file ... that functions as a unique signature of your server . This file contains general details (such as a company name ... algorithm). A Truststore file that functions as a certificate that enables the client to validate the server

Database Management Settings

The configuration element specifies back end (database engine) settings that are relevant on the server side and in embedded mode. The default configuration file contains the following element ... of a page in a database file. The default 2KB is appropriate for most applications . The element

Auto Generated Values

is 50). A sequence is global to the application and can be used by one or more fields in one or ... server , IDs are allocated in groups. The number of IDs in each allocation is specified by

Database Replication and Clustering

, which is managed on an ordinary ObjectDB  database server . Any ObjectDB database on any server ... databases is very easy and only requires running an ObjectDB database server with appropriate  ... above, a full URL has to be specified including user and password attributes. The slave server uses

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

General Settings and Logging

The configuration element specifies ObjectDB settings that are relevant to both the server ... ) is applied on both the server side and the client side, when using client- server mode, and has no effect ... with URLs (in client server mode). The password attribute specifies if passwords should also be saved

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

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

BIRT/ODA ObjectDB Driver

and restarting the IDE. Note: See this issue regarding matching the driver version to the ObjectDB server version when using client- server mode. ObjectDB/JPA Data Source To create an ObjectDB data source: Open ... connection URL - either embedded (e.g. c:\points.odb ) or client- server (e.g.  objectdb

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

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 due to these threads being alive. • We are also suspecting the server taking a long time to stop

Date and Time in JPQL and Criteria Queries

that are evaluated to the date and time on the database server when the query is executed: CURRENT_DATE ... once on the client side, the current date and time expressions are re-evaluated on the server

Server out of memory exceptions

I've started to get memory exceptions on objectdb instances running as a server . The objectdb log reports this as: [2011-07-29 23:28:41 #20 server ] java.lang.OutOfMemoryError: Java heap space [2011-07-29 23:28:41 #21 server ] java.lang.OutOfMemoryError: Java heap space at java.net.SocketInputStream

Step 4: Add a Servlet Class

; 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.

Step 4: Add a Servlet Class

the application server into the guestDao field automatically (since the field is marked with the @EJB annotation). The next step is adding a JSP page that will serve as the application view and will produce the guestbook output.

JPA Web App Tutorial - NetBeans Project

To open and run the  JPA Web Application tutorial project in NetBeans: Download and extract the project zip file: JPA Web App - Maven Project (6KB) Open the Maven project in NetBeans ... Project . Run the project: Select Run Run Main Project... (or F6 ). Choose or define the server and click

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 ... ). Choose or define the server and click  OK . If  a browser is not opened - open it at http://localhost:8080/Guestbook/.

Spring MVC JPA Tutorial - NetBeans Project

Tomcat as a server and click  OK . Note: To run the application on GlassFish - change

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 

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

Step 1: Create a Java EE 6 Web Project

a Project Name (e.g. Guestbook ). Select GlassFish Server Open Source Edition 3 (Java EE 6) as the Target runtime. Note: You may have to add GlassFish 3 as a new server by clicking the New Runtime... button and the Download additional server adapters link. Follow the instructions and specify the path

javax.jdo.annotations.IdentityType.APPLICATION

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

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:

Step 1: Install BIRT and ObjectDB Driver

matching the driver version to the ObjectDB server version when using client- server mode. The next step is creating a BIRT Report project .

Spring MVC JPA Tutorial - Eclipse Project

. Run the project in Eclipse: Right click the project node and select  Run As Run On Server ... project is imported into the IDE). Choose or define the server and click  Finish . Eclipse

[ODB1] Chapter 7 - JDOQL Queries

in client server mode because the result collection on the client side may hold resources on the server side. The closing is performed using methods of the Query instance: // Close a single result ... . In client- server mode, on the other hand, the classes are usually available on the client

[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

javax.jdo.PersistenceManager

application components. It is the factory for Query and Transaction instances, and contains methods ... at transaction completion. This method allows the application to explicitly provide a hint ... might have been constructed by the application . If the PersistenceManager is unable to resolve the oid