dev@glassfish.java.net

Re: Update on new GlassFish domain creation process & modified template structure

From: Tang Yong <tangyong_at_cn.fujitsu.com>
Date: Tue, 22 Jan 2013 11:50:26 +0900

Hi Alok,

A request is as following:

> Refer below link for more details on Domain Templating feature:
>
http://aseng-wiki.us.oracle.com/asengwiki/display/GlassFish/GlassFish4.0+Domain+Templating+One+Pager

For me and others outside oracle , we can not see the one pager, and
whether can put the one pager into glassfish wiki or not?

Thanks
--Tang

alok wrote:
> Hi All,
>
>
> The Glassfish domain creation process has been updated to the similar
> process followed in Oracle FMW Platform. Now the domain can be built
> through a jar template whose location can be pass via /--template/
> argument of /create-domain/ command.
>
> This domain creation process addresses few of the pending issues :
>
> * This feature allow various nucleus-based products to have
> different files in the domain rather than it being hard-coded.
> * Support the ability to use arbitrary domain properties when domain
> is created.
> * Allow user to pass the jar template from any location instead of
> picking the configuration files from a fixed location... etc
>
>
> Refer below link for more details on Domain Templating feature:
> http://aseng-wiki.us.oracle.com/asengwiki/display/GlassFish/GlassFish4.0+Domain+Templating+One+Pager
>
> We have also modified the Nucleus & GlassFish packaging to create jar
> templates, and using these templates to create the default domain
> (/domain1/) in Nucleus & Appserver distributions.
> *_
> Nucleus Template:_* Added a new module (/nucleus\admin\template/) to
> create Jar template (/nucleus-domain.jar/ ). This module has files
> specific to nucleus template and the generated template jar placed at
> /nucleus\common\templates\gf/ inside the nucleus artifact.
>
> *_Appserver Template:_ *Added a new module (/appserver\admin\template/)
> to create Jar template (/appserver-domain.jar/). This module has files
> specific to appserver template. During build process it uses
> /nucleus-domain.jar/. The generated template jar placed at
> /glassfish\common\templates\gf/ inside the appserver artifacts. _*
>
> Points:
> *_
>
> * Currently we are supporting both the existing and the new domain
> creation functionality.
> * Support for old usage will go away with in the next 2 weeks, and
> if you rely on custom templates, they'll have to be converted.
> * The old artifacts will be removed at the same time the support of
> old usage is discontinued.
>
>
> Thanks,
> Alok

-- 
***---------------------------------
富士通南大軟件技術有限公司(FNST)
第二ソフトウェア事業部第一開発部
湯 泳(ユ エイ)
Addr: 南京富士通南大軟件技術有限公司(FNST)
      中国南京市雨花台区文竹路6号(210012)
Mail: tangyong_at_cn.fujitsu.com
Tel: +00-86-25-86630566  内線:7998-8310            
Fax: +00-86-25-83317685                    
***---------------------------------