Environments include the External Systems, Logical Hosts, Sun Java System Application Servers and Message Servers used by a Project and contain the configuration information for these components.
From the NetBeans IDE, click the Services tab.
Right-click the Repository and select New Environment.
Rename the new Environment envBatch_Record.
Right-click the envBatch_Record Environment and select New ⇒File External System.
Name this External System esFile.
The esFile window is added to the Environment Editor.
Right-click envBatch_Record and select New⇒BatchRecord External System.
Name this External System esBatchRecord.
Right-click envBatch_Record and select New Logical Host.
The LogicalHost1 box is added to the Environment and LogicalHost1 is added to the Environment Editor tree.
From the Services tree, right-click LogicalHost1 and select New⇒Sun Java System Application Server.
A new Sun Java System Application Server is added to the Services tree under LogicalHost1.
Save the Project.