Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!

Harsha kumar Reddy

Greenhorn
+ Follow
since Jan 06, 2015
Harsha kumar likes ...
Java PHP
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
4
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Harsha kumar Reddy

I have attached the screen shot with error please take a look at it and help
1 year ago
i had Dynamic web app which was not maven project . And it was running in Jboss runtime environment . i converted it into maven project using eclipse . now i am getting Artifact missing error like shown below .

can i remove this dependencies form pom.xml since java build path is using jboss 7.0 runtime libraries
1 year ago
  I went through the tutorial about WS-adderssing and it is not clear the actual use of it . It has been stated that WS addressing helps client to address back to the service . But client would have used the address of the service endpoint to call a method in it  in first place, So the client would have already known the address of service endpoint . So what is use of ws addressing .
And it has been stated that WS-addressing is used to address the service in transport neutral way . But  the  @Addressing  annotation is only useful in SOAP 1.1/ HTTP  and SOAP 1.2/ HTTP  binding . Here URL used by HTTP is also transport neutral ?.
1 year ago
Apology for revoking on this issue . Again i have a doubt in this . It came to my knowledge that only REST base web services are discoverable by web search but not SOAP based web services . In order to use SOAP based based web service we are suppose to have access to the provider documentation . In case of UDDI ,SOAP based web services of a provider about who we didn't know before were discoverable. How this kind of need is achived now without UDDI
1 year ago
Object.equals() this method is available to every object since it is method of Super class of every class in java .
In Object class this method is defined to compare the object reference and that is what the == operator also does it compares the object reference .So it make no difference between == and .equals() method when you don't override the .equals() method.

It is programmers responsibility to override the equals() method so that it compares the values in the object with another and evaluates as you see it right.
1 year ago
Thank you very much cleared my doubt
1 year ago
By web search do you mean googling for web services
1 year ago
UDDI is not listed in exam topics of OCEJWSD i,e oracle certified web services developer exam in jave ee 6 version. And there is nothing related to in UDDI in java ee 6 documentation by oracle . I wonder how web services are published by providers and discovered by clients now days
1 year ago
I am studying for Jave EE 6 web services developer exam and i am going through a old book by richard monson-haefel on web services . When i cam across the topic of message handlers i have this question in my mind. In the book its written that message handlers reside in web container and are responsible for handling SOAP headers . if this exists in single web container then they have to be in single machine .

And i also studied topic on SOAP nodes which are intermediaries and these too are responsible for handling SOAP headers . But according to my understanding these intermediaries must reside on different machine on network. So how is SOAP message is handled.

What is difference in roles and responsibilities between these two (SOAP message handlers and SOAP intermediaries)?

How a Url is associated with the SOAP intermediaries?
2 years ago
So it is like how i interpreted . The value on which hashcode and equals depends should not be changed after adding object to collections .
Thanks Campbell and Jesper for clearing my doubt on this topic .And proving some useful reference links
3 years ago
I am OCPJP SE 6 . I stumbled upon an issue which i couldn't answer to my junior regarding collections .Could Please someone explain what's happening behind this code

There is this class called Testcoll which has main method . the main method creates 3 objects of type Hashable and adds each object to collection one by one . After adding first object . This code edits the parameter on which equals and Hashcode depends in first object . and again adds this object to hashset. now this first object is contained in 2 hash buckets with same value .

This was contradictory to my knowledge . the hashset shouldn't contain duplicate values and should not contain same object twice . I also remember studied that the value on which hashvalue depends should not be change during the entire run of program. but can be changed during next run.

So this implied to me that data in collections which uses hashcode, Should be handled carefully and data in objects should not be changed without our knowledge that data would have on hashvalue of the object . Is this how collections is suppose to be used . Or what ?? Please could Someone give me answers . Its humiliating for me that i am not completely aware of collection framework .

It also implied to me that Hashset is not self adjusting collection according to the hashvalue . the arrangement of objects is done only at time of their insertion . Is this true

below is the code


3 years ago