SAP NWDI Configuration
Before we can do any developments related to SAP Java technology, the NWDI server must be well configured. NWDI (Netweaver Development Infrastructure) is used as an industry-strength development environment. It combines all functionality needed for the whole life-cycle of software development and provides processes from product definition to delivery and maintenance.
Below diagram shows the architecture and main components of NWDI. This post try to explain how to create a track for SAP Java development.

1. SLD Configuration
Make sure that the SLD software catalog is up to date, especially if you select a track template for the development of a 7.1 based application on a 7.0 NWDI landscape.
Check below note and link for more information on how to import CIM instance.
SAP Note: 669669 – Updating the SAP Component Repository in the SLD

2. CMS Configuration
Go to below URL: http://domain/devinf/main. It goes to NWDI main page. Choose Change Management Service link and go to CMS configuration page.
Enter the CMS related information as well as the SLD URL. The default CMS user is NWDI_CMSADM. This user is created during system installation and password equals password of administration user.

3. Create Track
The track is created in netweaver administration. Go to URL: http://domain/nwa. Choose Deploy and Change Tab and Choose ‘Change Management Service (CMS): Create an Application Skeleton’. If you cannot see tab Deploy and Change, you need to assign J2EE admin role in ABAP side.

After the track has been created, required SCA files need to be uploaded to the CMS inbox and checked into CBS database. Make sure the version of software components are the same to the runtime server.
The corresponding SLD directory will be created and two development configurations will also be created. One is for development and the other is for consolidation.
4. Create new name reservation
Go to URL: http://domain/sld and choose name reservation. First enable this SLD as name server for NWDI and create new name prefix for your application.

Once you finish the configuration in SLD, do not forget to press ‘update CMS’ button in the track. The name reservation will be retrieved from SLD and generate a new version of development configuration.
If you finish above steps, enjoy your journey in SAP Java world. But there are plenty of werid issues in the SAP Java development, please be patient. I will post a trouble shooting article to gather the issues and solutions in my daily life;-)