Home » Search

About on the fly enhancement

1-10 of 200Refresh
Manual
191

JPA / JDO Class Enhancer

and enhance classes on the fly during load, even if a Java Agent is not specified explicitly ... ObjectDB Enhancer is a post compilation tool that improves performance by modifying the byte code of compiled classes after compilation. Enhancement is mainly for user-defined persistable classes
Tutorial
84

Step 3: Add a Context Listener Class

the EntityManagerFactory & Enhance: public void contextInitialized(ServletContextEvent e) { com.objectdb.Enhancer.enhance("guest.*"); EntityManagerFactory emf ... above: Invokes the Enhancer to enhance the entity class and creates an EntityManagerFactory instance and stores
Tutorial
84

Step 3: Add a Context Listener Class

implements ServletContextListener { // Prepare the EntityManagerFactory & Enhance: public void contextInitialized(ServletContextEvent e) { com.objectdb.Enhancer.enhance("guest ... "); emf.close(); } } The code above: Invokes the Enhancer to enhance the entity class
Manual
70

Entity Management Settings

") specifies whether the Enhancer Agent should be loaded to enhance persistable types on the fly ... : <enhancement agent="true" reflection="warning" /> The <enhancement> element
Tutorial
32

Step 7: Run the Spring Web App

. Right click the server node and select Restart. When using GlassFish - on the fly enhancement (weaving ... . You can stop the Tomcat server and open the database file in ObjectDB Explorer: To enable on the fly enhancement (weaving) in Tomcat: Find the Tomcat server in the [Services window] under Servers. Right
Tutorial
32

Step 7: Run the Spring Web App

the persistence.xml file - instead of RESOURCE_LOCAL you will have to specify JTA. To enable on the fly automatic enhancement (weaving) in Tomcat it has to be run with ObjectDB as a Java agent (javaagent:objectdb.jar). When using GlassFish - on the fly enhancement (weaving) is automatically enabled
Result
29

ObjectDB Object Database Features

using reflection). On the fly enhancement by using a Java agent. Replication (Cluster) Master-Slave ... other managed objects. Transparent update - changes are detected automatically. Code enhancement is optional ... . Can also be managed (started, restarted, stopped) from the command line. Class Enhancer Boosts
Forum
16

Post-compilation enhancement vs Automatic Run-time enhancement

modifications. There may be a difference with the extent of enhanced code. Automatic on the fly runtime ... enhancement and automatic run-time enhancement. Testing exactly where and when the results are different ... depending on the enhancement stragegy). Can you please explain how this could possibly
Manual
14

Chapter 5 - Database Tools and Utilities

Describes the ObjectDB object database tools - the Explorer, the Server, the Enhancer, the Doctor and the Replayer.
Forum
13

Enhancement API - NullPointerException

? On the fly enhancement by calling com.objectdb.Enhancer.enhance(...) is only supported for classes ... Hi! I am trying to use the Enhancement API from within my application like this: com.objectdb.Enhancer.enhance("my.package.Foo"); However, I get the following NullPointerException: [ObjectDB 2.7.1