Today we concluded multi-threading in Java and strated network programming in Java using sockets.
The session on multi-threading was summarized by Jaya, and Rajesh Choksey.
On Sunday we will conclude Sockets and start with RMI.
For further resources on Sockets, and RMI, please see the Java tutorial:
In the networking with sockets tutorial, the part on Sockets in most important. We will not cover DatagramSockets and URLConnection in much detail in this class.
Subscribe to:
Post Comments (Atom)
7 comments:
Sir,This question is related to JDBC.as in the class u talked about JDBC-ODBC bridge. does JDBC-ODBC Bridge support multiple concurrent open statements per connection and also can we open multiple database simultaneouly (register them with driver manager) and combine the result of those different database and show to user??
No. You can open only one Statement object per connection when you are using the JDBC-ODBC Bridge.
Regarding Ankur's second question..
of opening of multiple databases at the same time..
We can connect to multiple databases at the same time by instantiating multiple connection objects, and each object may even be using a different JDBC driver.
thanks gaurav for reply.....
but ur reply has created more confusion to me ...can u plz tell in a more detail form plzz
as we have studied in last class abt prepared statement...
i have question related to it.....
does prepared statement have impact on execution time of the program???
hey ankur .. thanks for the reply..
can you please specify for which answer you need a detailed explanation? I can then get back to you with the details..
Regarding the question about prepared statement..
The execution time of the program will reduce if you use a PreparedStatement object..for details you can refer to the links given by sir for Networking with Java..it is explained over there under JDBC..
Hello,
Why do we do unit testing using JUnit?
What are the advantages of JUnit over other tools?
Why code organization is important while developing projects?
I have googled these question but could not get any justified answer.
Regards,
Som
Post a Comment