Originally posted by Christa Koch:
In the application I'm reviewing a clob is written like this:
- insert a row with an empty clob (with EMPTY_CLOB())
- select the clob-column with the empty clob to get the lob locator
- update the row to write the new clob with "meaningful" data
Now I'm told that performance is better when the lob locator is returned by the insert statement. I know that the syntax for the sql is like that:
insert into <table_name> (<attribute list> values(<attributes>,EMPTY_CLOB()) returning <clob column> into clob_selected;
Can anybody help me doing this in Java? I'd appreciate your help very much but don't be angry if I don't reply for hours on end. I'm in Germany and my working day is almost over...
Originally posted by Mudunuri Raju:
Did any one use the certgear exam simulators. They were planning to relase SCDJWS exam simulator on 03/2006. http://www.certgear.com/products/info/scdjws.htm
Please let me know if you use any of their products for other exams.
Price seems to be effortable as compared to Whizlabs.
Appreciate the feed back.
Raju (SCJP, SCJD, SCEA, SCBCD, Weblogic-7.0)
Originally posted by Allan Sam:
I need to conceive an application which has to get input from a POS terminal or some other server. The application has to communicate with another module residing in a mainframe, get the results and output the response back to the POS terminal. The components with which the application communicates may be non-java components. Please recommend the best architecture for this system. This a performace critical application with the application needing to support 10000+ client hits at a time. Considering these, what technology is best suited? Simple TCP server socket/WebServices/Servlet/CORBA/RMI??
Originally posted by Deepak Vernekar:
I have small query regarding the remote interfaces used in the distributed java (RMI and EJB). When we lookup the remote object, why the type cast is done as RemoteInterface. and what is the content of Stub and Skeleton. Please explain this process clearly.
Thanks in Advance.
Originally posted by Oren Gross:
Hi there, I have heard somewhere that there might be a way to fetch the Router's MAC address from the Request/Session. Anyone knows anything about it?
Originally posted by Tony Evans:
I have a byte and I am trying to check to see what data it contains.
checkData(byte  data)
if(data != null && data.length > 0)
String dataString = new String(data);
This snippet of code causes a error exception
The code is called via a config so the error is not the actual error but a config error.
What I need to know is what is the best way to convert byte  into a string.
Thansk for any help Tony
Originally posted by Prasann Mathur:
I have an XML file like this . I want to check an IP , say 172.31.1.47 or 22.214.171.124 which is the IP of the client and check whihc range (defined in begin and end tag of nodes) .
Say for an example, Ip 172.31.1.47 falls inside <begin> and<end> value 172.31.1.1 - 172.31.1.254 once it verifies these, it will retrieve all the other attributes of the node.
Tell me is there any logic to check whether an Ip falls under the begin and end tag Ip address values.
Originally posted by James Tikalsky:
This seems like it should be simple, but I'm getting confused. I have a binary file which I've discovered contains two keys: A Master and a Sub.
I've been able to read the file as a byte array from the file system, then add it to the keyStore using the method:
I've verified that the key exists using:
which returns true. I can also delete the key from the keyStore using:
Now, I'd like to use the public key to encrypt a file, but I'm unable to get a reference to the Key using:
Is there something I'm missing?
Originally posted by Jim Frank:
I have to get rid of a password in memory after decrypted and used. The password is encypt and decrypt with JCE. I was thinking such:
StringBuffer x = Pass.decrypt();
I guess I have to do the same thing to the decrypted password in the decrypt() method.
Originally posted by Thanga prakash Somasundaram:
Currently we are working with JDK 1.3 base version. We are planning to go for JDK 1.5 Tiger.
I found one of the issues as String to byte and viceversa, leads to improper string.
Please, highlight your experience / guide for the same..
thanks in advance,