alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Glassfish example source code file (README)

This example Glassfish source code file (README) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Glassfish tags/keywords

a, glassfish, glassfish, it, it, make, preparing, put, test, verify, verify, weld, weld, when

The Glassfish README source code

This test is meant to do two things:

1. Verify that the weld-osgi-bundle.jar has been installed and is 
   running in a GlassFish instance.

2. Verify the exported packages in the osgi bundle.  It does this 
   by comparing the exported packages in the running bundle against
   a "golden file" (weld-osgi.properties) that contains the expected
   exported packages for the current release of Weld for GlassFish.

3. Verify that the bundle-symbolic-name is "org.jboss.weld.osgi-bundle".


PREPARING A NEW TEST

When a new Weld GlassFish release is done, the following must be dne:

1. Make sure GlassFish is started with the weld-osgi-bundle running.

2. Use a tool (such as "bnd") to capture the exported packages in the
   weld-osgi-bundle at run time.  It can be found here: 
   http://www.aqute.biz/Code/Download Just execute the 
   bnd.jar (java -jar bnd.jar).

3. Put the captured exported packages information from the output 
   from this tool into the metadata/weld-osgi.properties file.

Other Glassfish examples (source code examples)

Here is a short list of links related to this Glassfish README source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.