Win a copy of Head First Android this week in the Android forum!

Sunil Dumpala

Greenhorn
+ Follow
since Jul 28, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sunil Dumpala

A good place to find answers to your questions could be WID forums http://www-128.ibm.com/developerworks/forums/dw_forum.jsp?forum=821&cat=9

I haven't seen many URLs for WID/WPS certification but there are tons of turotials out there on these Products.

Thanks,
Sunil
14 years ago
Hi Siva,

A mediation module can be used only for protocol Transformation and Routing wheras a Module has lots and lots of functionalities such as you can have a Business Process, Interface map, different types of Imports and Exports etc., Architectural Perspective - Mediation Module is available if you have installed ESB. Both mediaton Module and Module are available when you install WPS (As WPS sits on top of ESB).

I am a newbie to WID too but I am pretty confident that my above understanding is correct.

Thanks,
Sunil
14 years ago
Hi Siva,


1) what is difference between module and mediation module

A mediation module can be used only for protocol Transformation and Routing wheras a Module has lots and lots of functionalities such as you can have a Business Process, Interface map, different types of Imports and Exports etc., Architectural Perspective - Mediation Module is available if you have installed ESB. Both mediaton Module and Module are available when you install WPS (As WPS sits on top of ESB).


2) what is difference between business object and business map.

In simple terms A Business Object is analogous to Java bean. Ofcourse Business Object is more complex and provides more functionalities. Now coming back to your actual question, by 'Business map' if you mean Business Object map then a Business Object map is the transformation between two different types of Business Objects. Its a GUI editor in WID which shows mapping of elements between two business Objects.

I am a newbie to WID too but I am pretty confident that my above understanding is correct.

Thanks,
Sunil
[ July 23, 2007: Message edited by: Sunil Dumpala ]
14 years ago
Megha,

To check if the sequence you are using exists and working or not try to run the following query on oracle through sqlplus (or any query runner interface)

select reg_no.nextval from dual;

If this results in a number then we can look further.

Thanks,
Sunil
Hi,

Earlier I posted the below topic in IDE section of javaranch. Haven't got any response. Since this topic is related to WSAD 5.1 I have posted it here to see if I could get any response.

I coded a simple HelloWorld program by creating a java project in WSAD. I added a datasource in my Test Server in WSAD. All I was trying to do was access the datasource using JNDI. Standard way of soing it (if it were a jsp or any J2EE application ) would be as follows

javax.naming.InitialContext ctx = new javax.naming.InitialContext();
DataSource ds = (javax.sql.DataSource) ctx.lookup("jdbc/UASSUNILLOCALds");

For some reason Server was trying to read WEB-INF/config/server.properties file and was throwing a FileNotFoundException. I found a similar posting on the net where someone suggested to change the code as follows

1. Hashtable env = new Hashtable();
2.env.put(Context.INITIAL_CONTEXT_FACTORY,"com.ibm.websphere.naming.WsnInitialContextFactory");
3. javax.naming.InitialContext ctx = new javax.naming.InitialContext();
4. DataSource ds = (javax.sql.DataSource) ctx.lookup("jdbc/UASSUNILLOCALds");

And included whole bunch of jar files such as naming.jar, namingclient.jar, wssec.jar, lmproxy.jar, sas.jar, implfactory.jar, ecutils.jar and a implproperties.properties file into the classpath.Now I am able to get the context but I am getting ClassCastException on line 4. The reason is ctx.lookup is returning me the javax.naming.Reference object of DataSource "jdbc/UASSUNILLOCALds". I am using JDK 1.3 and included the classes12.jar oracle driver files.

I need to create a standalone java file which would be run as batch job. If I can access the datasource through JNDI then I could have placed the file as part of bigger application and use the server connection pools etc., But since this didn't work out and I am running out of time, I am planning to use iBatis. If anybody has any suggestions on how to get the issue rectified or any comments on the usage of iBATIS please let me know. I am new to iBTAIS too so not sure if that would work out or not.

Thanks,
Sunil
15 years ago
I coded a simple HelloWorld program by creating a java project in WSAD. I added a datasource in my Test Server in WSAD. All I was trying to do was access the datasource using JNDI. Standard way of soing it (if it were a jsp or any J2EE application ) would be as follows

javax.naming.InitialContext ctx = new javax.naming.InitialContext();
DataSource ds = (javax.sql.DataSource) ctx.lookup("jdbc/UASSUNILLOCALds");

For some reason Server was trying to read WEB-INF/config/server.properties file and was throwing a FileNotFoundException. I found a similar posting on the net where someone suggested to change the code as follows

1. Hashtable env = new Hashtable();
2.env.put(Context.INITIAL_CONTEXT_FACTORY,"com.ibm.websphere.naming.WsnInitialContextFactory");
3. javax.naming.InitialContext ctx = new javax.naming.InitialContext();
4. DataSource ds = (javax.sql.DataSource) ctx.lookup("jdbc/UASSUNILLOCALds");

And included whole bunch of jar files such as naming.jar, namingclient.jar, wssec.jar, lmproxy.jar, sas.jar, implfactory.jar, ecutils.jar and a implproperties.properties file into the classpath.Now I am able to get the context but I am getting ClassCastException on line 4. The reason is ctx.lookup is returning me the javax.naming.Reference object of DataSource "jdbc/UASSUNILLOCALds". I am using JDK 1.3 and included the classes12.jar oracle driver files.

I need to create a standalone java file which would be run as batch job. If I can access the datasource through JNDI then I could have placed the file as part of bigger application and use the server connection pools etc., But since this didn't work out and I am running out of time, I am planning to use iBatis. If anybody has any suggestions on how to get the issue rectified or any comments on the usage of iBATIS please let me know. I am new to iBTAIS too so not sure if that would work out or not.

Thanks,
Sunil
Never mind I figured it out. Thanks.
How to read and parse tab delimited file using JDK 1.3 API. In 1.4 we have split function in string that takes regualr expression as parameter but how to achieve this in JDK 1.3.

Unfortunately I am stuck up with a project that still uses jdk 1.3 and I am on a short deadline. Any help would be appreciated.

Thanks,
Sunil
15 years ago
Hi John,

I am facing a similar problem. I am not sure where to place my properties file. I tried putting it in Project>properties>Java Build Path > Libraries

But with no use. Have you figured out what needs to be done for this? Any help would be appreciated.
Thanks,
Sunil
Shantishri,

I had no issues with the download. I just followed the instructions mentioned. You might want to contact the Enthuware tech support. May be they can help you.

Thanks,
Sunil Dumpala
Hi Malay,

Sorry I couldn't check your message earlier. Imran is right, you don't have to take any proof of SCJP. All we need is to take 2 ids. All the Best.

Thanks,
Sunil Dumpala
Hi Vivaldo,

Actually I posted the below message in SCBCD forum, I will post it again for you here.

First of all I would like to thank everybody for helping me in achieving the 91% in SCBCD (I took it today). I will quickly summarize my prep details which could help fellow SCBCD aspirants. I used the following for my prep

1. HFEJB
2. EJB Spec
3. Enthuware's EJBPlus for mock tests
4. ejbcertificate.com for mock tests.
5. AND javaranch

All the above helped me in one way or another. The unconventional way of explanation in HFEJB was distracting ar first but once I got into the flow, ride was cool. Helped me memorize stuff that needs to be memorized. But it had lots of mistakes. Anybody who wants to use this book first thing I would suggest is book mark the errata, both confirmed errata and unconfirmed errata. (I don't know why HFEJB authors or concerned authorities neither confirm nor deny the unconfirmed errata). ejbcertificate and EJBPlus helped me figure out the mistakes in HFEJB and a skim through EJB spec cleared all the doubts I had. The only flaw in the EJBplus is, in the mock test question would say chose 1 answer but in the answer the tool would show 2 answers. When a query needs to be built (drag and drop) the tool would mark your answer wrong even if it is correct (could be a bug in the tool). If you check the answer provided by the tool it would be same as the one you would have answered. But its not that big of a deal as you have the right answer and thats all you care about.

Yesterday I was reading one of the Javarancher's post. In the real test The questions which require drag and drop cannot be reviewed. If you try to review you will have to anwser the question again (Previous answer would be deleted). So when I took the test I answered all such questions at the end.

And finally Javaranch admins please excuse me for this post. I know that this post belongs to Results section but I thought the above information could help the SCBCD aspirants. Please feel free to move this to Results section if needed.

Good luck guys. I got to go to bug SCEA (my next target) test takers ;-)

Thanks,
Sunil Dumpala
15 years ago
Malay,

Confirmed Errata link:
http://www.oreilly.com/catalog/hfjejb/errata/hfjejb.confirmed

Unconfirmed Errata link:
http://www.oreilly.com/catalog/hfjejb/errata/hfjejb.unconfirmed

EJBPlus is not free but it is comparitively less priced ($18.00 for 4 tests).

ejbcertificate.com is free.

Thanks,
Sunil
Hi All,

I cleared SCBCD with 91% . Planning to go for SCEA :-)

Thanks,
Sunil Dumpala
SCJP, SCWCD, SCBCD, OCA,
IBM Certified Websphere Administrator for WAS v5.0
15 years ago
Hello Javaranchers,

First of all I would like to thank everybody for helping me in achieving the 91% in SCBCD (I took it today). I will quickly summarize my prep details which could help fellow SCBCD aspirants. I used the following for my prep

1. HFEJB
2. EJB Spec
3. Enthuware's EJBPlus for mock tests
4. ejbcertificate.com for mock tests.
5. AND javaranch

All the above helped me in one way or another. The unconventional way of explanation in HFEJB was distracting ar first but once I got into the flow, ride was cool. Helped me memorize stuff that needs to be memorized. But it had lots of mistakes. Anybody who wants to use this book first thing I would suggest is book mark the errata, both confirmed errata and unconfirmed errata. (I don't know why HFEJB authors or concerned authorities neither confirm nor deny the unconfirmed errata). ejbcertificate and EJBPlus helped me figure out the mistakes in HFEJB and a skim through EJB spec cleared all the doubts I had. The only flaw in the EJBplus is, in the mock test question would say chose 1 answer but in the answer the tool would show 2 answers. When a query needs to be built (drag and drop) the tool would mark your answer wrong even if it is correct (could be a bug in the tool). If you check the answer provided by the tool it would be same as the one you would have answered. But its not that big of a deal as you have the right answer and thats all you care about.

Yesterday I was reading one of the Javarancher's post. In the real test The questions which require drag and drop cannot be reviewed. If you try to review you will have to anwser the question again (Previous answer would be deleted). So when I took the test I answered all such questions at the end.

And finally Javaranch admins please excuse me for this post. I know that this post belongs to Results section but I thought the above information could help the SCBCD aspirants. Please feel free to move this to Results section if needed.

Good luck guys. I got to go to bug SCEA (my next target) test takers ;-)

Thanks,
Sunil Dumpala
[ April 04, 2006: Message edited by: Sunil Dumpala ]