A Proposal for Java EE Configuration (Follow up)
A Proposal for Java EE Configuration (Follow up)
Given all the feedback and discussions from last week I would come up with the following more concrete feature list, what should be covered IMO. Finally I outline a rough server lifecycle including configuration. As always feedback is welcome!
High Level Features
- Define mechanisms to enable applications being deployed by adding configuration externally (from an application viewpoint). This means it must be theoretically possible to configure an application completely externally. This would include loading and providing existing deployment descriptors and other configuration files to be provided based on external configuration.
- Define mechanisms to provide deployment descriptors, e.g. by some API or more generic, accessible under certain keys. Alternatively a common configration access point for EE configuration is defined that can be used, by other JSRs.
- From a DevOps perspective, also additional aspects, today configured outside of an ear/war archive should be considered, such as security setup, data sources, message queues, worker thread pools etc. This is also one of the more interesting areas, where we must see in what kind of runtime environment we are running. If CDI 2.0 would define some shared system level container, this will be the place to be, if not application servers must load EnvironmentManager and ConfigurationManager and provide them as JNDI entries.
- Application configuration is also very important for portability. A key/value store has shown in a variety of frameworks its strengths, so with another 10+ interfaces this feature should also be included.
- Wiring and injection of the effective configuration should be done based on CDI.
Additional Details
- Environments are hierarchic, meaning environment settings from lower levels, e.g. startup are also visible in inheriting contexts, but may be overriden. Environments also define the basic hierarchy levels for configuration.
- At a current runtime point exact one environment is active.
- An environment provides a Stage, which is predefined. Additional custom stages can be realized by adding additional properties to the environment. An SPI allow to add additional values to an environment.
- Configuration (parts) can be active/non active based on the current environment.
- All configured String values support EL syntax to be used for wildcards and cross-references and dynamic replacements.
- Default values can be deployed along the code by adding configuration to a configuration.xml loaded deployed with the code on the classpath.
- Application Configuration basically is modelled along the environment hierarchy and thus runtime dependent, whereas deployment configuration is identified by the requested target state.
Great And Useful Article
ReplyDeleteOnline Java Training from India
Java Training Institutes in Chennai
Great Article android based projects
DeleteJava Training in Chennai Project Center in Chennai Java Training in Chennai projects for cse The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training Project Centers in Chennai
I have read your blog its very attractive and impressive. I like it your blog.
ReplyDeleteJava Online Training Java EE Online Training Java EE Online Training Java 8 online training Java 8 online training
Java Online Training from India Java Online Training from India Core Java Training Online Core Java Training Online Java Training InstitutesJava Training Institutes
Thanks a lot! You made a new blog entry to answer my question; I really appreciate your time and effort.
ReplyDeletejava training in chennai |
java training institutes in chennai
ReplyDeleteLearned a lot of new things from your post!Good creation ,It's amazing blog
Core Java Online Training
Java Online Course
Java Online Training Bangalore
I found your blog while searching for the updates, I am happy to be here. Very useful content and also easily understandable providing..
ReplyDeleteBelieve me I did wrote an post about tutorials for beginners with reference of your blog.
Selenium training in bangalore
Selenium training in Chennai
Selenium training in Bangalore
Selenium training in Pune
Selenium Online training
Post is very useful. Thank you, this useful information.
ReplyDeleteGet Best SAP HR HCM Training in Bangalore from Real Time Industry Experts with 100% Placement Assistance in MNC Companies. Book your Free Demo with Softgen Infotech.
Thank you for sharing such a nice post!
ReplyDeleteLooking for SAP S4 HANA Simple Logistics Training in Bangalore , learn from eTechno Soft Solutions SAP S4 HANA Simple Logistics Training on online training and classroom training. Join today!
Thank you for sharing such a nice post!
ReplyDeleteLooking for Best Training Institute in Bangalore , India. Softgen Infotech is the best one to offers 85+ computer training courses including IT Software Course in Bangalore , India. Also, it provides placement assistance service in Bangalore for IT.
Thanks for one marvelous posting! I enjoyed reading it; you are a great author. I will make sure to bookmark your blog and may come back someday. I want to encourage that you continue your great posts.Prathima Infotech training center bangalore
ReplyDeleteThank you for your post. This is excellent information. It is amazing and wonderful to visit your site.Prathima Infotech training center bangalore
ReplyDeleteAwesome,Thank you so much for sharing such an awesome blog.Prathima Infotech training center bangalore
ReplyDeleteThanks for sharing this blog. This very important and informative blog.Become a Trainer
ReplyDeleteLearned a lot of new things from your post! Good creation and HATS OFF to the creativity of your mind.Student Reviews
ReplyDeleteThanks for sharing this blog. This very important and informative blog. content
ReplyDeleteDigital Marketing Services in delhi
ReplyDeleteseo services in delhi
web development services in delhi
content marketing services in delhi
ppc services in delhi
Website Designing services in delhi
This comment has been removed by the author.
ReplyDeleteInteresting stuff to read and useful to improve knowledge.
ReplyDeleteKeep posting.
artificial intelligence internship | best final year projects for cse | internship certificate online | internship for mba finance students | internship meaning in tamil