users@glassfish.java.net

*.sun-resource

From: Daniel Cavalcanti <dhcavalcanti_at_gmail.com>
Date: Thu, 12 Jul 2007 15:12:49 -0400

Hi,

In NetBeans I can create resources that generate files with the extension
"sun-resources". When I right click on this file in the "Projects" viewer, a
pop-up menu shows with a "Register" option, which registers that resource
with the project configured Glassfish instance.

My question is the following: How does this registration happens under the
hood? In other words, if I have a SomeResource.sun-resource file, how can I
use it to register that resource in GlassFish without doing through
NetBeans, e.g. from the command line or using ant?

thanks,
Daniel.