This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Five Lines of Code and have Christian Clausen on-line!
See this thread for details.
Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

Deepika Joshi

Ranch Hand
+ Follow
since Feb 24, 2009
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 Deepika Joshi

But it is still one of the best for 1.5 exam....

It is one of the best book to learn....if you have/get the exam objectives, you can find out what chapters you should read from book.

If you are new to web-services.. please read first 5 chapter of RMH, and decide what chapters you should read from rest of book.

thanks.
Thanks .
10 years ago
Hi,

Any link for using JAX-B without knowing XSD (schema)?

Thanks.
10 years ago
10 years ago
In case if I do not have XSD, and can not have objectFactoryPath; how can I create Java object from XML file using Jax-B?
or XSD/Object_Factory is must for using JAx-B?
Thanks.
10 years ago

Deepika Joshi wrote:I wanted to know the differences between JAX-RPC & JAX-WS web service & I google the same topic.
- JAX-WS binding data (data binding define in JAX-B) & support all (data) type of XML schema
but JAX-RPC uses Java type binding, supports 90% XML data type.


Hi,

I am curious to know data binding case which was not supported by JAX-RPC.
Can some one please share the example or some information?

Thanks....
sorry I am not sure about the size of the file... Thanks a lot for your reply....
10 years ago
hi,

I am writing program to generate text file & planning to use FileWriter to write text form StringBuilder. I am not sure if I should look into NIO?
Does NIO has better option for above thing?

Thanks......
10 years ago
static <T> void myMethod (T [] a, Collection <T> c) {
}

you are correct, and I got your point... I have read few pages on this but still finding it to difficult digest ....

thanks....
static <T> void myMethod (T [] a Collection <T> c)


I am learning generics and I am not sure role of <T> next to 'static'...

Can you please write how to read it (static <T>), and what is use of <T>

Thanks....


Does that mean that SOAP does know how to deal with java.lang.Objects during serialization and deserialization?


scratch your head once & say what do you think?


Default value of any object is null. Seems that is return in this case. Reason :


Or I do something wrong?


seems true
Preparation helps to learn concept or practices used in market. Even if someone is not working on some specific technology, can learn & if wants to take certification or not its up to individual. While spending time on technology helps to learn, & if working on that technology or role is not in my resume, then I prefer to take certification; which helps to prove credential that I have knowledge of that role / technology.
Interviewer is the person to check the knowledge, but to get short listed, need to prove either experience or certification from organisation.

Nobody force anybody to take the certification, it's individual's call based on their planing to learn or progress.

Coming to experience with Sun - It was excellent for me. For one of certification, post certification kit was lost in transit. I got new soon after writing to Sun. For another certificate; I bought wrong certificate, I wrote to sun with my cell no. I got call from them, I explained the case; they helped to provide new certification voucher via e-mail.


try @Override, it confirms if it is overriding or not.

this is method overloading.

Nidhi Sar wrote:

Deepika Joshi wrote:-(when object is locked, no other thread can use the object until lock is released).



Deepika,

Thanks for taking the time to write the details of the process. It is a great explanation. However... it doesn't answer my main question
1. An object (say myTicket) is locked by ThreadA,
2. Another thread ThreadB cannot get a lock on myTicket till it is released by ThreadA
3. However, can another thread CHANGE myTicket???

i.e. getting a lock on an object and changing its state are two different things, aren't they?



- A process can have multiple threads, & those threads can share someObj; those threads share ownership of someObj; and are eligible to change someObj's state
- Locking is explicit ownership of an object. So if another thread does not have ownership, can not use/update someObj.

Thanks.