on 08-11-2008 9:08 AM
Hi Buddies,
as a Java Programmer, I would like to create a Package and a Class in a Web Dynpro Application. What I mean is a simnple Class that contains Constants etc. that is independent of the "generated" classes...
Where can I do that and what are the best practices?
Thanks, Johannes
Hi Johannes,
You can create. You need to follow some steps:
1. Goto Web Dynpro Nevigator.
2. Right click on the packages folder and then New->Other-> Java -> Select Class or Package.
You can run java class from NWDS also and able to see the output without deploying the web dynpro application.
Goto Run->Run As->Java application.
Regards,
Deepak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Switch to Navigator view.
Under the src folder you can create the classes as you do in Java perspective.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hey guys....thanks all...i thought it wasnt possible to use it that way...however....what could be call as a good practice....create the class within the WD package or create another DC for all utility related classes...since the latter helps in segregation of classess...i think the latter would be a better option....
Thanks,
GLM
Hi,
You can do it.
Goto File -> New -> Other -> Java -> Select Class or Package
Regards,
Swati.
Edited by: Swati Gaur on Aug 11, 2008 10:15 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I dont think that its possible to create a normal java class within a WD 4 JAVA project. However you could create a java project dc and use that dc within a WD dc and then call the classes you need.
My apologies its possible
Edited by: GLM on Aug 11, 2008 2:17 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.