RSS feed [root] /weblog /java /network



title search:


Thu Apr 06 06:33:20 GMT 2023


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

Sat Mar 18 12:52:17 GMT 2023 From /weblog/java/network


一文带你掌握物联网 Mqtt 网关搭建背后的技术原理 -

(google search) (amazon search)

Fri Apr 15 12:54:04 GMT 2022 From /weblog/java/network


1,000,000 Concurrent Connections -

(google search) (amazon search)

Tue Feb 01 13:21:36 GMT 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)

Thu Feb 04 13:57:57 GMT 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 13:51:19 GMT 2020 From /weblog/java/network


(google search) (amazon search)

Mon Jun 16 09:21:07 GMT 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 11:27:37 GMT 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 01:25:38 GMT 2013 From /weblog/java/network


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

(google search) (amazon search)

Fri Aug 31 01:57:58 GMT 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)

Wed Jun 13 15:17:09 GMT 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 09:16:31 GMT 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 09:08:54 GMT 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 11:50:13 GMT 2006 From /weblog/java/network

Setting user agents

(google search) (amazon search)

Wed Jan 04 09:10:06 GMT 2006 From /weblog/java/network

how to write jini service

(google search) (amazon search)

Tue Nov 01 10:58:33 GMT 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)