Saturday, June 6, 2015

Second Chapter Summary Coming | Continued Thoughts on a General-Purpose JSP/JSF Tag

Team,

    The summary of the second chapter of Oracle's Early Draft Documentation for Ozark should be available by the middle of next week.

    Some thoughts arose about the notes posted earlier in this blog which suggested the use of reflection with a custom JSP/F tag for invoking behavior from a method within a classes. Also, this can be done using expression language, #{fully.qualified.class.name.method(parameters,...)}. If an application can tolerate the overhead of reflection, all of the behavior needed for generating its necessary views is encapsulate-able in JAVA packages. This might be a reasonable alternative for "custom" tag support depending upon a development teams skills set. It places most of the JEE concerns in a single custom tag which is already written and tested. The tag is extensible through the creation of libraries for the support of HTML processing.

   Another approach for achieving a similar result is the technique of  "byte-code" injection which allows for weaving compiled instructions within the fabric of existing class code. This would remove the cost associated with reflection, dynamic invocation, found in the previous paragraph.

 Simply a few thoughts for this weekend which might have some value. Some of which might have been repeated from earlier entries in the web history.

Enjoy This Weekend,

The CABOOSE Team.

 

No comments:

Post a Comment