RSS feed [root] /weblog /java /network




login:

password:

title search:




 


Thu Apr 06 06:33:20 GMT 2023

network



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

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

mqtt


一文带你掌握物联网 Mqtt 网关搭建背后的技术原理 - https://xie.infoq.cn/article/15d34a2d1042101d319261da8

(google search) (amazon search)


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

scalability


1,000,000 Concurrent Connections - https://josephmate.github.io/2022-04-14-max-connections/

(google search) (amazon search)


Tue Feb 01 13:21:36 GMT 2022 From /weblog/java/network

IO


2 nice blog about create and unit test custom IO stream - http://www.mattryall.net/article.cgi?id=286 http://www.mattryall.net/article.cgi?id=285

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

(google search) (amazon search)


Thu Feb 04 13:57:57 GMT 2021 From /weblog/java/network

socket


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

(google search) (amazon search)


Mon Apr 06 13:51:19 GMT 2020 From /weblog/java/network

URI


https://blog.sebastian-daschner.com[..]om/entries/creating-uris-with-uribuilder

(google search) (amazon search)


Mon Jun 16 09:21:07 GMT 2014 From /weblog/java/network

mail


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

Code sample of using auth required SMTP server - http://timarcher.com/?q=node/53

Properties to prevent infinite timeout for all socket operations, in Java mail - http://andreas.haufler.info[..]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

jetty


Guide of how to start and config jetty dynamic at code - http://www.onjava.com/lpt/a/6623 , even change the config after the server started.

Websocket coding sample - http://aredko.blogspot.hk[..]java-websockets-jsr-356-on-jetty-91.html

(google search) (amazon search)


Thu Nov 28 01:25:38 GMT 2013 From /weblog/java/network

protocol


Sockets Direct Protocol – Write Once, Run Everywhere …. and Run (Some Places) Blazingly - http://www.infoq.com/articles/Java-7-Sockets-Direct-Protocol

(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:/" - http://rifers.org[..]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. - http://www.rgagnon.com/javadetails/java-0445.html

(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 - http://weblogs.java.net[..]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 http://www.webweavertech.com/costin/archives/000421.html

(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

http://www.oreillynet.com/pub/wlg/5216

HTTP POST -

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

// 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
outWriter.print("htmlText="+inputHtml);
outWriter.close();

InputStream input = con.getInputStream();

http://technology.amis.nl/blog/?p=1107
http://www.marcellosendos.ch/booking/documentation/chapter2.html

(google search) (amazon search)


Tue Jul 25 11:50:13 GMT 2006 From /weblog/java/network

Setting user agents


http://jawe.net/2006/07/23/setting-the-http-user-agent-in-java/

(google search) (amazon search)


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

how to write jini service


http://jroller.com/page/dancres?entry=how_to_write_a_jini

(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

http://jroller.com[..]wn?entry=setting_up_javamail_with_strict

(google search) (amazon search)