Commit 83a42b18 authored by kshinde's avatar kshinde

Removed lookup

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@187912 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 757f836e
...@@ -58,11 +58,11 @@ public class RunMrpOthersDetails ...@@ -58,11 +58,11 @@ public class RunMrpOthersDetails
public String getOthersDetails( String othersDetails , String currentSorder) throws ITMException public String getOthersDetails( String othersDetails , String currentSorder) throws ITMException
{ {
String OthersDetailsData = ""; String OthersDetailsData = "";
RunMRPWizRemote runMRPWizRemote = null; RunMRPWiz runMRPWizRemote = new RunMRPWiz();
try try
{ {
InitialContext ctx = new InitialContext( new AppConnectParm().getProperty() ); /*InitialContext ctx = new InitialContext( new AppConnectParm().getProperty() );
runMRPWizRemote = (ibase.webitm.ejb.mfg.RunMRPWizRemote)ctx.lookup("ibase/RunMRPWiz/remote"); runMRPWizRemote = (ibase.webitm.ejb.mfg.RunMRPWizRemote)ctx.lookup("ibase/RunMRPWiz/remote");*/
OthersDetailsData = runMRPWizRemote.getOthersDetails(othersDetails , currentSorder); OthersDetailsData = runMRPWizRemote.getOthersDetails(othersDetails , currentSorder);
runMRPWizRemote = null; runMRPWizRemote = null;
System.out.println("OthersDetailsData=="+OthersDetailsData); System.out.println("OthersDetailsData=="+OthersDetailsData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment