Skip to Content
Author's profile photo Shreyas Pandya

Source Code Journey (NWDI under the Hood)

This article explains about how NWDI works under the hood. The article reveals the unexplained secrets and the Journey of the source code in the NWDI universe.

Introduction

Before getting started I recommend you to go through the following article to get a clear understanding between NWDI and Non-NWDI scenarios.

NWDI Empowered Landscape vs. Landscape without NWDI Setup

In this article we will unveil and explore the secrets of NWDI about its underlying core functionalities and how these functionalities are realized in NWDI universe.

 

The 3 Pillars of NWDI 

image

 

Design Time Repository (DTR)

A central storage for all kind of source files in various formats. It provides source code management and version control for development based on the SAP NetWeaver platform.

Component Build Service (CBS)

The CBS is the central build environment in the development infrastructure also taking care of the management of the archives needed in each development project.

Change Management Service (CMS)

The Change Management Service (CMS) represents the part of Software Life-Cycle Management in the SAP NetWeaver Java Development Infrastructure.

The Change Management Service is the central administration UI for development landscape definition and transport management.

 

Workspaces & Buildspaces

For every NWDI track two configurations (_Dev and Cons) are created. Each of these configurations in turn contains 3 compartments each, namely Active and Inactive DTR Workspaces, plus one CBS Buildspace.<br />So your Track consists of totally…</p><h4 class=”MsoNormal” style=”margin: 6pt 0in 0pt;”>4 DTR Workspaces:</h4><p class=”MsoNormal” style=”margin: 6pt 0in 0pt;”>Work-spaces belong to DTR</p><ol style=”margin-top: 0in;” type=”1″><li class=”MsoNormal” style=”margin: 6pt 0in 0pt; tab-stops: list .5in left .8in; mso-list: l1 level1 lfo1;”>Inactive Development workspace of your track in DTR Server.<br />(http://<host>:<port>/dtr/ws/<TrackName>/* 2 CBS Buildspaces:</h4><p class=”MsoNormal” style=”margin: 6pt 0in 0pt;”>Build-spaces belong to CBS.Go to Component Build Services (CBS) Web UI >> (Build spaces >>)</p><ol style=”margin-top: 0in;” type=”1″><li class=”MsoNormal” style=”margin: 6pt 0in 0pt; color: black; tab-stops: list .5in left .8in; mso-list: l2 level1 lfo2;”>Development Buildspace<br />”<SID>_<Track-ID>_D” build space.</li><li class=”MsoNormal” style=”margin: 6pt 0in 0pt; color: black; tab-stops: list .5in left .8in; mso-list: l2 level1 lfo2;”>Consolidation Buildspace<br />”<SID>_<Track-ID>_C” build space.</li></ol><p class=”MsoNormal” style=”margin: 6pt 0in 0pt;”>All your Source code is stored inside the DTR Workspaces and the compiled version (Built version) of that source code is stored inside the CBS Build-spaces.<br />So, when you import your development configurations in developer studio it brings the code from DTR-Workspaces and built archives from CBS build spaces.</p><p class=”MsoNormal” style=”margin: 6pt 0in 0pt;”> </p><h3 class=”MsoNormal” style=”margin: 6pt 0in 0pt;”>The Source Code Journey*

!https://weblogs.sdn.sap.com/weblogs/images/251967884/SourceCodeJourney1.JPG|height=500|alt=image|width=684|src=https://weblogs.sdn.sap.com/weblogs/images/251967884/SourceCodeJourney1.JPG|border=0!

Assigned Tags

      10 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Tushar Shinde
      Tushar Shinde
      Getting to learn a lot about NWDI from your Blogs & Articles.
      Keep it up & God bless...

      Regards
      Tushar Shinde

      Author's profile photo saurabh vakil
      saurabh vakil
      This is a very informative blog. Especially since not many such articles are available which take us through the NWDI fundamentals with such clarity.

      Thanks Mr. Pandya and keep up the good work 🙂

      Author's profile photo Yogesh Galphade
      Yogesh Galphade
      Hi Shreyas

      This is really nice blog that we are having; NWDI concept are ready to learn and adopt.

      If possible can we have one more blog on troubleshooting/prons n cons of nwdi Or anything which will help while development. Even track versioning will do.

      Author's profile photo Shreyas Pandya
      Shreyas Pandya
      Blog Post Author
      Hi Yogesh,

      I am really glad to know that, you are finding it useful.
      For NWDI Troubleshooting Guide, you can follow the below mentioned link...

      http://wiki.sdn.sap.com/wiki/display/TechTSG/%28NWDI%29Home

      For Pros & and Cons you can refer to my previous Blog (NWDI Empowered Landscape vs. Landscape without NWDI Setup)
      NWDI Empowered Landscape vs. Landscape without NWDI Setup

      Regards,
      Shreyas Pandya

      Author's profile photo Former Member
      Former Member
      It kind of saddens me that the DTR still hasn't reached out to a more "concurrent" versioning support. Working with several developers on the same webdynpro component becomes a really painful process. I wished the NWDI would just integrate some kind of open source versioning system and start CBS builds from there on.
      Author's profile photo Shreyas Pandya
      Shreyas Pandya
      Blog Post Author
      Hi Stefen,

      Thanks for the reply...
      Can you please elaborate your query, i  really didn't understand it properly.
      DTR does support concurrent versioning.
      I have recently published one Wiki Page on Parallel Development and Concurrency Control in NWDI, please go through it...

      http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=243761386

      Regards,
      Shreyas Pandya

      Author's profile photo Former Member
      Former Member
      Hey Shreyas,

      thanks for the wiki entry, this one is really helpful!

      We encounter quit frequently that components are locked because they are checked-out elsewhere. Is this because they are automatically checked out for deletion?

      Many thanks

      Author's profile photo Priyanka Singh
      Priyanka Singh
      Really nice post explaining the NWDI concepts in the simplest way. Keep up the good work!!
      Author's profile photo Former Member
      Former Member
      Relay nice blog.

      Regards,
      Sushant Tiwarekar

      Author's profile photo Shreyas Pandya
      Shreyas Pandya
      Blog Post Author
      Thank you Sushant.

      Regards,
      Shreyas Pandya