Creating Tag Libraries Best Practices

Use abstract classes rather than interfaces to implement your tags. This strategy facilitates, standardizes, and effectively manages your tag library development.

To ease pending deployments, package your tag libraries and supporting files into JAR files. If you're using tag libraries within deployed libraries, you can never be sure as to the state of your classpath; that is, what files you're actually referencing in support of your tag library. Packaging and then referencing the tag library JAR file validates completeness of the deliverable.

To facilitate version control and file management, package related tag libraries within a common JAR file. Also establish a naming convention for your tag library JAR ...

Get BEA WebLogic Server™ 8.1 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.