Yogesh Kumar Yadav

+ Follow
since Jan 09, 2010
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Yogesh Kumar Yadav


Thanks for your reply ...

Yes I did check the database after the save ..I can see the data......However when i m running the code after commenting the saveOrUPdate , just to fetch the
values ...I am getting no rows and same is applicable when i m looking into the database ...

I know the problem is because of commit ...but where I need to put the commit info ??

Thanks for helping

I am new to Hibernate and facing very basic problem and not able to found what's issue in the code ......
I am updating an Employee data using the hibernateTemplate.saveOrupdate method ....but when i m calling get or load method its failing saying no row found ..
I am pasting my Code below ..

Employee class :




I have a question regarding the declaration of a bean ....

If I have a jar which is outside of my EAR and i want to get a handle or an instance of a bean from the outside jar ...
how can i have that ??? Is it the same as if I am working on a bean which is inside my EAR ....

I can add the outside jar and and then can configure the bean in my app-context.xml ?

I am little confused in this ...

Can anyone help ?
14 years ago
Hi ,

When I am trying to access a Web Service I am getting the following Error ...

- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <soapenv:Body>
- <soapenv:Fault>
<faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.NoService</faultcode>
<faultstring>The AXIS engine could not find a target service to invoke! targetService is RemoteService</faultstring>
+ <detail>
<ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">Yogesh Kumar</ns2:hostname>

Can anyone explain me how to resolve this problem ??

Yogesh Kumar

14 years ago

I am bit new to the Messaging world ...I was just reading about the WebSphere MQ and found that 'MQ' supported API for Java are
JMS and IBM's own Messaging API' (Message Queue Interface) ....

Can anyone please clear me on the question?

Which one is more better (JMS Vs MQI) to use ? What are the advantages of Using JMS API's ...

Appreciate your responses ..!

14 years ago
Thanks for the Response ......

my mistake obviously we cannot use this here .....

Can you please elaborate this statement :
If you use ClassName.class the synchronization holds for whatever context from which an action is performed on a class.

Appreciate your help guys ..!!

I was looking into the Singleton class code where double checked locking was handled .....
In this at Line 1 -- synchronized(Singleton.class) is used ...

What exactly this Line do ? Cant we use synchronize(this) here ??

public static Singleton getInstance()
if (instance == null)
synchronized(Singleton.class) { //1
if (instance == null) //2
instance = new Singleton(); //3
return instance;