cancel
Showing results for 
Search instead for 
Did you mean: 

How to create J2EE project (just DTR)

Former Member
0 Kudos

Can anyone please give me pointers for creating j2ee application (with just DTR). I do not want to use component development model. How can I configure SLD for the same?

-


Scenario:

I have 2 Enterprise J2EE application and few util java projects,

App1EJB

App1Web

App1EAR

App2EJB

App2Web

App2EAR

Util1 (Common to both App1 and App2)

Util2 (Common to both App1 and App2)

Util3 (Common to both App1 and App2)

-


Regards,

Deepak

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Deepak,

Could you clarify what do you mean by creating J2EE project in DTR without making DCs.

If you just want to create a J2EE project then yes you can do it. Just go to

new -> project -> J2EE -> Web module project

but if you want to maintain this project in DTR then you have to create J2EE DC project only for which you have to go to

New -> Development Component -> select SC -> select J2EE -> web module project

Regards,

Ravi Maheshwari

P.S. Award points if helpful.

Former Member
0 Kudos

Hi Ravi Maheshwari,

What I meant (when I said I dont want to use NWDI component model) was that, I dont want to use NWDI trasport. I just want to create project and use DTR only for versioning.

Should I still create a TRACK in CMS?

- Deepak

Former Member
0 Kudos

Deepak,

If you just want to use DTR functionality you can install CVS plugin in NWDS

check this link

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d079e754-8c85-2b10-8b9a-b36db526...

Thanks

Bala Duvvuri

Former Member
0 Kudos

The article in the link talks about using CVS instead of DTR. Deepak wants to know how to use DTR without the component model and the other parts of NWDI, namely CBS and CMS. He is not asking you how to use version control in an Eclipse environment.

Deepak,

You need to use the DTR perspective to manage your repository. Use the DTR perspective to create a so-called "client" for your DTR repository.

Next, you need a DTR Workspace in which you can store your sources. You should have the necessary privileges to create workspaces in DTR: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c9/d94388f62c8f478eadd4d1902d7101/frameset.htm

Assuming you have the necessary privileges, there are 4 ways in which you can create these workspaces:

(1) DTR Command line tool: This is present in your NWDS installation

(2) DTR Administrator Plugin: This is an extension to the DTR Eclipse plugin but is inactive by default. Details of the DTR administrator plug-in can be found here: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/01/72a43f4aa1330ee10000000a114084/frameset.htm

(3) DTR Console: An advanced command-line tool present your the file-system where your DTR server runs. Typically your NWDI administrator will have access to this tool and he/she should be the one to create these workspaces for you. Documentation link:

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/652a652a717183e10000000a114a6b/frameset.htm

(4) DTR Web UI: Depending on your DTR/NWDI version (> SP18, if I remember correctly), you can create the necessary structure of workspace folders and workspaces directly in the Web UI (http:<host>:<port>/dtr). This is probably the easiest way to setup the initial structure.

Once the workspace is created, you can create any folders underneath this workspace to structure your project artifacts (source, docs, etc)

To connect your JEE project to DTR, go to the project explorer. Use the context menu on the project: Team --> Share Project --> Design Time Repository and follow the wizard to connect the project to your DTR repository.

You do not need an NWDI track for just using DTR. However, if you want to reserve names on SLD then you will have to use NWDI tracks and the component model. However, reserving names is a completely optional thing and you should do so only if you see big advantages with it.

- added the 4th option for creating the workspace

Former Member
0 Kudos

Hi Girish,

Thanks a lot for your detailed explanation. I was able to create the workspace and add the projects. It worked great.

Thanks Again,

Deepak

Answers (0)