RSS feed [root] /network /weblog /java




login:

password:

title search:




 


Mon Apr 06 21:51:03 HKT 2020

network



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

Mon Apr 06 21:51:19 HKT 2020 From /weblog/java/network

URI


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

(google search) (amazon search)


Mon Jun 16 17:21:07 HKT 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 19:27:37 HKT 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 09:25:38 HKT 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 09:57:58 HKT 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 23:17:09 HKT 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)


Thu Mar 29 18:18:37 HKT 2007 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

(google search) (amazon search)


Tue Oct 31 17:16:31 HKT 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 17:08:54 HKT 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 19:50:13 HKT 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 17:10:06 HKT 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 18:58:33 HKT 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)