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
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
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
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. content
ReplyDeleteThis 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
🌟 Exciting Internship Opportunity for Final Year Students! 🌟
ReplyDelete🚀 Java Full-Stack Developer Internship 🚀
Are you a final-year student looking to kickstart your career in tech? Join our Java Full-Stack Developer Internship and gain hands-on experience in building end-to-end applications.
🎯 What You’ll Learn:
Core Java and advanced concepts
Front-end development with HTML, CSS, JavaScript, React
Back-end development with Spring Boot, REST APIs
Database management with MySQL/NoSQL
Version control using Git/GitHub
Agile and Scrum methodologies
💡 Why Intern with Us?
Real-world projects to boost your portfolio
Mentorship from experienced developers
Flexible work hours
Opportunity for a full-time position after the internship
📅 Duration: 3 Months
📍 Location: Onsite/Remote
📢 How to Apply:
Send your resume to [email address] or visit [website] to apply!
💻 Hurry! Limited spots available.
#Java #FullStackDeveloper #InternshipOpportunity #TechCareers #FinalYearStudents #JavaInternship #WebDevelopment #SpringBoot #ReactJS