On-Demand Enterprise Application Startup via JNDI Metadata
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In enterprise application servers, running thousands of applications simultaneously leads to resource overconsumption and system downtime, as all applications must be active for clients to access them, despite only a subset being used at any given time.
Innovation Solution
Implementing a system where naming references with metadata are created in the Java Naming and Directory Interface (JNDI), allowing an object factory to identify and start applications only when requested by clients, thereby managing resources efficiently by keeping all applications in a stopped state until needed.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If all applications are kept running to ensure immediate client access, then client access reliability is improved, but system resource consumption increases and system downtime risk increases
Solution Approach 1:
The patent applies preliminary action by pre-registering application metadata in the JNDI namespace before applications are actually deployed or activated. This allows the JNDI lookup to succeed immediately, and the application can be activated on-demand when a client actually needs it, thus maintaining reliability while reducing resource consumption.
2Reliability
If all applications are kept running to ensure immediate client access, then client access reliability is improved, but system downtime risk increases
Solution Approach 1:
The patent applies preliminary action by pre-registering application metadata in the JNDI namespace before applications are actually deployed or activated. This allows the JNDI lookup to succeed immediately, and the application can be activated on-demand when a client actually needs it, thus maintaining reliability while reducing resource consumption.
3Loss of energy
If only needed applications are started to optimize resource usage, then resource efficiency is improved, but client access speed deteriorates due to on-demand loading
Solution Approach 1:
The patent introduces an intermediary mechanism - the JNDI namespace with pre-registered metadata - that decouples the client lookup operation from the actual application activation. The JNDI acts as a mediator that can immediately resolve application identifiers even when applications are not yet running, enabling fast client access without requiring applications to be pre-loaded into memory.
4Adaptability or versatility
If thousands of applications are deployed on the server to provide comprehensive services, then service versatility is improved, but resource consumption increases
Solution Approach 1:
The patent applies segmentation by separating application metadata registration from application deployment and activation. The JNDI namespace is segmented to store only the minimal necessary information (application identifiers and metadata) without requiring the full application code to be loaded. This allows the server to support thousands of applications with minimal resource overhead, activating only those needed at any given time.
Data Source
AI summary
A method to start enterprise applications on demand using naming references is described. The method matches Enterprise JavaBeans applications to respective naming references, checks if the matched application is running and starts it if it is not.


