Java code specialization through preprocessor -


Currently we are in the process of evaluating the method of a common code base per project basis. Think of it as a complete operating system, which is in line with the requirements of the project. Those requirements may be to add additional features or data or to completely or partially change parts of the system.

There are many options we are considering, e.g. Heritage, patterns of strategies, plugins etc. But there are alternatives to change / enhance the methodology in the way of AOP.

Since we are already considering various ways to deal with this problem, this question is aimed at Dikas in those ways, but also a single question:

Does anyone have a preprocessor (Free or commercial) which will allow us to change the functionality (sections of sections or even sections of classes) during compiling time? It will be similar to AOP, in which time will be compiled to spend, this code will not be wrapped / expanded, but will actually replace the code in the question.

Is there such a thing or will it be very risky / complicated?

I know that there are better approaches and we are considering them all, so I want to know whether this special approach is worth considering.

Other suggestions are welcome but the results should be completely different. :)

Maywean can do this please read>

Brief: You Entry Use the work or


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -