RSS feed [root] /network /weblog /java



title search:


Fri Apr 15 22:54:04 AEST 2022


(google search) (amazon search)
download zip of files only

Fri Apr 15 22:54:04 AEST 2022 From /weblog/java/network


1,000,000 Concurrent Connections -

(google search) (amazon search)

Wed Feb 02 00:21:36 AEDT 2022 From /weblog/java/network


2 nice blog about create and unit test custom IO stream -

Java sockets I/O: blocking, non-blocking and asynchronous -[..]n-blocking-asynchronous-aliaksandr-liakh

(google search) (amazon search)

Fri Feb 05 00:57:57 AEDT 2021 From /weblog/java/network


Talking to Postgres Through Java 16 Unix-Domain Socket Channels -[..]ugh-java-16-unix-domain-socket-channels/

(google search) (amazon search)

Mon Apr 06 23:51:19 AEST 2020 From /weblog/java/network


(google search) (amazon search)

Mon Jun 16 19:21:07 AEST 2014 From /weblog/java/network


Some advance usage of javamail and apache james smtp server... but I guess not much ppl will use this server, right? -[..]ment_variable_envelope_return_paths.html

Code sample of using auth required SMTP server -

Properties to prevent infinite timeout for all socket operations, in Java mail -[..]vamail-can-be-evil-and-force-you-to.html

(google search) (amazon search)

Wed Dec 04 22:27:37 AEDT 2013 From /weblog/java/network


Guide of how to start and config jetty dynamic at code - , even change the config after the server started.

Websocket coding sample -[..]java-websockets-jsr-356-on-jetty-91.html

(google search) (amazon search)

Thu Nov 28 12:25:38 AEDT 2013 From /weblog/java/network


Sockets Direct Protocol – Write Once, Run Everywhere …. and Run (Some Places) Blazingly -

(google search) (amazon search)

Fri Aug 31 11:57:58 AEST 2007 From /weblog/java/network

problem of host lookup

Prevent java to resort "c:/" -[..]05/12/22/flaky_file_urls_jdk_1_4_windows

DNS caching explain, in Java6, When a security manager is not set, the default behavior is to cache for 30 seconds. -

(google search) (amazon search)

Thu Jun 14 01:17:09 AEST 2007 From /weblog/java/network

Disassembling serializable object

Example of how to disassembling object get from RMI -[..]nus/archive/2007/06/disassembling_s.html

(google search) (amazon search)

Tue Oct 31 20:16:31 AEDT 2006 From /weblog/java/network

low level tomcat io

If you really stick to tomcat, then it might be useful for you

(google search) (amazon search)

Thu Oct 12 19:08:54 AEST 2006 From /weblog/java/network

post at java code

Optimizing HTTP downloads in Java through conditional GET and compressed streams


URL url = new URL(BASE_URL);
URLConnection con = url.openConnection();
// inform the connection that we will send output and accept input

// Don't use a cached version of URL connection.
con.setUseCaches (false);
con.setDefaultUseCaches (false);
con.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
// define a new PrintWriter on the output stream
PrintWriter outWriter = new PrintWriter(con.getOutputStream());

// send data to the servlet

InputStream input = con.getInputStream();

(google search) (amazon search)

Tue Jul 25 21:50:13 AEST 2006 From /weblog/java/network

Setting user agents

(google search) (amazon search)

Wed Jan 04 20:10:06 AEDT 2006 From /weblog/java/network

how to write jini service

(google search) (amazon search)

Tue Nov 01 21:58:33 AEDT 2005 From /weblog/java/network

Setting up javamail with strict SSL relay servers

Short tutorial of how to enforce SSL with javamail[..]wn?entry=setting_up_javamail_with_strict

(google search) (amazon search)