on 03-05-2008 1:55 PM
Hello All,
Can any one explain me how to Run the java program in NWDS (Netweaver Developer Studio) 7.1.
Regards,
Srikanth
If your Java Program is Java Mapping program, you can create main function to run it inside NWDS,
you can create your object based on your class, and call execute function by passing FileInputStream and FileOutPut Stream Parameters:
public static void main(String args[]) throws Exception {
try {
MyClass mapObj = new MyClass();
FileInputStream in = new FileInputStream("C:\\YourPath\\Src.xml");
FileOutputStream out =
new FileOutputStream("C:\\YourPath\\Trgt.xml");
mapObj.execute(in, out);
} catch (Exception e) {
e.printStackTrace();
}
}
Your run Java Program then you will see your Trgt.xml file created inside YourPath.
For the Module development and deployment, you need to develop Enterprise Java Bean, if you search on the forum, you will find some thread talking about it.
Regards.
Liang
Edited by: Liang Ji on Mar 5, 2008 6:47 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi srikanth,
go to NWDS in that go to preferences there you can find the J2EE app server,in that provide server name and port,with user crednetials
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
NWDS Studio is an Eclipse based IDE where you can develop J2EE application and deploy the Netweaver J2EE application Server.
U can run ur java program in NWDS.
Regards,
Phani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.