Raj chiru

Ranch Hand
+ Follow
since Aug 12, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Raj chiru

Hi Friends,

I'm getting confusion about join() internal implementation in Thread class. please advise.

Thread.java


My Code 1:


My Code 2 :



Here i'm getting same results with My Code 1 and My Code 2 but Question is, if we call join() OR wait() method on Thread instance,How it will get notify,when thread in wait state here as i couldn't see any notify() OR notifyAll() method in Thread class.
Hi friends,

I'm reading "Design Patterns: Elements of Reusable Object-Oriented Software" book
in that i red below statements.

But class inheritance has some disadvantages, too. First, you can't change the implementations inherited from parent classes at run-time, because inheritance is defined
at compile-time. Second, and generally worse, parent classes often define at least part of their subclasses' physical representation.Because inheritance exposes a subclass to details of its parent's implementation, it's often said that "inheritance breaks encapsulation"[ Sny86] .
The implementation of a subclass becomes so bound up with the implementation of its parent class that any change in the parent's implementation will
force the subclass to change.



Please explain how inheritance exposes a subclass to details of its parent's implementation? and it mean?
11 years ago
Dear Friends,


I would want to take online training for Java Web Services,please suggest me which is best site for online training center.

Thanks.
11 years ago
Jasper..Thank you

Then,if it doesn't have anything to do with Byte Order,
How do we know How many positions to shift the byte value in multi byte order.
11 years ago
you mean..This is the procedure/functionality you will have to consider the byte order or Endian in which multibyte numbers are stored?

11 years ago
Campbell..Thank you

Still I'm not able to getting,
How do we know How many positions to shift the byte value(ex: 0x1d<<0x18)?

Thanks.
11 years ago
Hi Friends,

And I red some document,In below example why we need multify value with 256.(or with shift operators)
and why need this functionality?

In the example above, the value 50,0000,007, in hexadecimal, is 0x1DCD6507. And if we break it up into four separate bytes, the byte values are 0x1D, 0xCD, 0x65, and 0x07. In decimal those four bytes are (respectively) 29, 205, 101, and 7. The biggest byte is The First One, 29, Which Represents The Value 29 * 256 * 256 * 256 = 486539264. The second biggest is The Second Byte, 205, Which Represents The Value 205 * 256 * 256 = 13434880. The Third Biggest Byte Is 101, Which Represents The Value 101 * 256 = 25856, and the littlest byte is 7, which represents the value 7 * 1 = 7. The values 486539264 + 13434880 + 25856 + 7 = 500,000,007.


Thanks.
11 years ago
I have a directory where a lot of files are saved Like

Template_ Batch120408.txt, Template_ Batch120409.txt, Template_ Batch120410.txt, Template_ Batch120411.txt, Template_ Batch120412.txt, Template_ Batch120413.txt, Batch120408.txt, Batch120409.txt, Batch120410.txt, Batch120411.txt, Batch120412.txt, Batch120413.txt,

Currently there is a task which lists the files from directory and find the machingTemplate_ Batch file corresponding Batch120413 file(Batch120413.txt==>Template_ Batch120413.txt) from list and processes them sequentially (writing to a database). Due to the increasing number of files it is necessary to implement parallel processing of these files. Can you give me some ideas and a code example in java, please?
12 years ago
Hi friends,
when i execute below queries i will Object type value in list object with same value Object type(same Object type in all five indexes in arraylist object),
How to get PortalMenuModel type object in list with differnt values?


Hi Friends,

I'm new to webservices,I'm trying to create webservice client using Apache CXF with eclipse but i'm getting error like
12 years ago
Hi Friends,
we are developing spring based we application,but Basic Requriements

1. A jsp apge to isnert the following into table
2. A jsp page to view the following based on ID or all if no ID is provided
3. based on data source id , get or execute SOL string from table and and display the results query results in view

For this i created spring controller,domain(POJO) object and dao object

I need your help how to get or execute SOL string and and display the results query results in jsp view based on data source id?

DROP TABLE ODB_US_DS_CFG;




12 years ago
Hi Friends,

what are the draw backs if i use JSP as a controller for handling the requests and responses and using java code,scriptlets,declarations and expressions in jsp?
13 years ago
Hi Friends,
Can you please explain to me from which language the preceding code was developed?
Is it Python(or Jpython) language?



14 years ago