Java Reference
In-Depth Information
A
Deployment Server
HTTP Connection
Servlet Engine
:JNLP
Servlet
Client
JNLP Client
Business Serve r
Core module
(core.jar)
JDBC
connection
Handler
add-on module
(extra.jar)
JDBC Connection
Database
F IGURE A.3
An example of deployment and component UML diagrams mixed together to describe a real system.
Legal Notes
An often-overlooked aspect of deployment is its legal side as involves the redistribution of
third-party software needed for our application. We will focus only on deployment-related
issues here.
Commercial Third-Party Redistributables
Given the huge number of slightly different contracts each vendor establishes, we are forced to
discuss only the main features of such contracts.
Generally speaking, there could be three types of inclusion of a third-party library in your
application:
•Including the vendor's provided JAR files.
•As individual class files (that is, unjarring the related JAR files).
•As class files included in your application JAR files.
Often, the most important issue for developers is the ability to “break” the provided (large)
JAR files in order to selectively use only the needed classes. This feature is not always
Search WWH ::




Custom Search