Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the “shared” project?

project Shared
0
10 Posted

What is the “shared” project?

0

If myfaces-core, tomahawk, tobago and trinidad were completely separate projects, then there would be no need for a “shared” code project; each project would maintain its own code in its own namespace. However there would be lots of code duplication and wasted effort. As these projects are all under the “myfaces” umbrella, code that is common to multiple projects can be placed into the “shared” project thus reducing development and maintenance effort, and making the projects more consistent with each other. However these projects all have separate release cycles, and in addition tomahawk/tobago/trinidad should be runnable on JSF implementations other than myfaces-core. The solution currently in use is a compilation hack that renames the shared class package; the code is renamed to “org.apache.myfaces.shared_impl” for inclusion in the myfaces-impl jarfile, “org.apache.myfaces.shared_tomahawk” for inclusion in the tomahawk jarfile etc. In this manner, each project can be deployed with al

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123