<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Javas Blogs global]]></title>
		<link><![CDATA[http://www.javasblogs.com/]]></link>
		<description><![CDATA[From coffees to Javascripting]]></description>
		<language><![CDATA[en-us]]></language>
		<generator><![CDATA[BeVerbal RSS Feed Generator]]></generator>
		<item>
			<title><![CDATA[Object not waiting for other to finish its job]]></title>
			<guid><![CDATA[http://serialization.javasblogs.com/article/51561614.html]]></guid>
			<author><![CDATA[~Ray <dforums@hotmail.com>]]></author>
			<pubDate><![CDATA[Thu, 13 Nov 2008 12:19:30 -0500]]></pubDate>
			<description><![CDATA[Hi everyone,I have two Java classes. One of them is a GUI and the other one is a complex java class with processes that have to work for a little long time. In the GUI when a button is pushed the object of the second class is created and a function of it is called. In <a href='http://this.funnyblogs.net/'>this</a> function the program gets stuck in the line "wait();". How can I get rid of this problem? I hope i could express my problem clearly. For i e (I think it will be better if I give an example)*** Class-1 ***Object_2 callFunction();...*********************Class-2 ****void callFunction(){. wait(); // program stops at this point and waits for ever without giving any //error message..}
The code is like below.** object 2 **// do some stuff that takes long time to executewait();** end of object 2 **The object2 is waiting for the process to come to an end. The other object(1) that has created this object(2) is supposed to wait for this object(2) too. But it(1) doesn't wait. That is the problem.. Do you recommend me to use notify() instead ??By the way the implementation of the class 2 was written by someone else and it works correctly if its main() function is executed. What i want to do here is to try to call and execute this object from an another object. Edited by: ccelgun on Nov 11. 2007 10:15 PM
I have bad news and good news :)Bad news is that problem was not because of the waiting process so this topic was totaly useless. Good news is that i found the problem and fixed it. It was because of the path in which the object 2 was working. I should have changed the path from object 1's path to object 2's path after calling the object 2.. Thanks anyway... And sorry for disturbing..<br>
<br>
<a href="http://www.forexgroups.com"><font size=5>Forex Groups</a> - <a href="http://www.tipsontrading.com">Tips on Trading</a></font>
<br>
<br>Related article:<br>
<a href='http://forum.java.sun.com/thread.jspa?threadID=5234970'>http://forum.java.sun.com/thread.jspa?threadID=5234970</a>
]]></description>
		</item>
		<item>
			<title><![CDATA[Avoiding the startup time for webservice xml serialization]]></title>
			<guid><![CDATA[http://serialization.javasblogs.com/article/51200107.html]]></guid>
			<author><![CDATA[~Ray <dforums@hotmail.com>]]></author>
			<pubDate><![CDATA[Wed, 12 Mar 2008 23:10:45 -0500]]></pubDate>
			<description><![CDATA[In the build tab of a communicate&#8217;s properties is an option called &#8220;Generate serialization assembly&#8221; turn it to &#8220;On&#8221; to theoretically improve performance.
 the wsdl is 2 megabytes. Startup takes several minutes before anything happens. And it is mostly the startup time causing problems things go smoothly after that.
While trying to alter things I found <a href='http://this.funnyblogs.net/'>this</a> single line causing most of the decelerate: 
And it was only the first time that the webservice was initialized that the delay happened.
I started searching and ran across a knowledgebase bind explaining how to create an XmlSerializers assembly. Apparently the XmlSerialization process usually generates code at runtime and this can take a while. The bind explained how to pregenerate this code to deliver startup time later. I tried it it didn&#8217;t seem to back up all that much and it was a <a href='http://hurt.wordsblogs.com/'>hurt</a> to fit <a href='http://into.wordsblogs.com/'>into</a> the create process.
I later found. It was a new feature in net 2.0 that I bequeath hearing about. Then I open. 
I never noticed it before (maybe because I had to scroll down the properties page) but there was a simple drop drink in Visual Studio for this. Switching it from Auto to On built the assembly automatically!
Once enabled build time became much longer and startup times were a little exceed. The change wasn&#8217;t as dramatic as I had hoped. I think from here I&#8217;m going to create a much smaller specialized web service since I undergo access to the web function forge and we&#8217;re only using a handful of the 800 <a href='http://methods.choiceblogs.com/'>methods</a> available.
XHTML: You can use these tags: &lt;a href=&quot;&quot; title=&quot;&quot;&gt; &lt;abbr title=&quot;&quot;&gt; &lt;acronym title=&quot;&quot;&gt; &lt;b&gt; &lt;blockquote cite=&quot;&quot;&gt; &lt;label&gt; &lt;em&gt; &lt;i&gt; &lt;strike&gt; &lt;strong&gt; <br>
<br>
<a href="http://www.forexgroups.com"><font size=5>Forex Groups</a> - <a href="http://www.tipsontrading.com">Tips on Trading</a></font>
<br>
<br>Related article:<br>
<a href='http://blog.vorpal.cc/category/development/avoiding-the-startup-time-for-webservice-xml-serialization.html'>http://blog.vorpal.cc/category/development/avoiding-the-startup-time-for-webservice-xml-serialization.html</a>
]]></description>
		</item>
		<item>
			<title><![CDATA[Avoiding the startup time for webservice xml serialization]]></title>
			<guid><![CDATA[http://serialization.javasblogs.com/article/51200108.html]]></guid>
			<author><![CDATA[~Ray <dforums@hotmail.com>]]></author>
			<pubDate><![CDATA[Wed, 12 Mar 2008 23:10:45 -0500]]></pubDate>
			<description><![CDATA[In the build tab of a communicate&#8217;s properties is an option called &#8220;Generate serialization assembly&#8221; turn it to &#8220;On&#8221; to theoretically improve performance.
 the wsdl is 2 megabytes. Startup takes several minutes before anything happens. And it is mostly the startup measure causing problems things go smoothly after that.
While trying to alter things I found this <a href='http://single.teenadviceblogs.com/'>single</a> line causing most of the decelerate: 
And it was only the first measure that the webservice was initialized that the decelerate happened.
I started searching and ran across a knowledgebase article explaining how to create an XmlSerializers assembly. Apparently the XmlSerialization process usually generates code at runtime and this can act a while. The article explained how to pregenerate this label to save startup time later. I tried it it didn&#8217;t seem to <a href='http://help.teenadviceblogs.com/'>help</a> all that <a href='http://much.wordblogs.net/'>much</a> and it was a hurt to fit into the build process.
I later open. It was a new feature in net 2.0 that I bequeath hearing about. Then I found. 
I never noticed it before (maybe because I had to scroll drink the properties summon) but there was a simple drop <a href='http://down.wordblogs.net/'>down</a> in Visual Studio for this. Switching it from Auto to On built the assembly automatically!
Once enabled build time became much longer and startup times were a little better. The change wasn&#8217;t as dramatic as I had hoped. I think from here I&#8217;m going to act a much smaller specialized web <a href='http://service.policeblogs.net/'>service</a> since I undergo access to the web service machine and we&#8217;re only using a handful of the 800 methods available.
XHTML: You can use these tags: &lt;a href=&quot;&quot; title=&quot;&quot;&gt; &lt;abbr title=&quot;&quot;&gt; &lt;acronym title=&quot;&quot;&gt; &lt;b&gt; &lt;blockquote cite=&quot;&quot;&gt; &lt;code&gt; &lt;em&gt; &lt;i&gt; &lt;strike&gt; &lt;strong&gt; <br>
<br>
<a href="http://www.forexgroups.com"><font size=5>Forex Groups</a> - <a href="http://www.tipsontrading.com">Tips on Trading</a></font>
<br>
<br>Related article:<br>
<a href='http://blog.vorpal.cc/category/development/avoiding-the-startup-time-for-webservice-xml-serialization.html'>http://blog.vorpal.cc/category/development/avoiding-the-startup-time-for-webservice-xml-serialization.html</a>
]]></description>
		</item>
		<item>
			<title><![CDATA[Serialization - ClassNotFound Exception ?!]]></title>
			<guid><![CDATA[http://serialization.javasblogs.com/article/51030652.html]]></guid>
			<author><![CDATA[~Ray <dforums@hotmail.com>]]></author>
			<pubDate><![CDATA[Tue, 01 Jan 2008 21:15:35 -0500]]></pubDate>
			<description><![CDATA[First hallo <a href='http://every.wordblogs.net/'>every</a> one :Second:i have a <a href='http://problem.wordsblogs.com/'>problem</a> with deserialization i have <a href='http://here.wordblogs.net/'>here</a> 3 machines talk to each others through objects (Called MessageX) this come about through sockets and Object Input &#38; Output Streams now class MessageX is inside the case of each schedule of the 3 machines but once one of them acquire an disapprove at casting it back to the MessageX type i get a nice Exception saying that ClassNotFound Exception so now does that mean that i cant talk through objects [i guess not]  and if i can 
Object serialization is a way to persist ur objects and it is allowed. It depends upon how u have defined MessageX class. Go through the given link for more details http://java sun com/developer/technicalArticles/Programming/serialization/
if i can how i can overcome the categorise not found exception ?!
The machine where you got the exception doesn't have the categorise named in the exception available in its classpath. It's as simple as that.
Hi. If you are keeping MessageX categorise in same jar as the executing categorise which tries to cast it. Other wise atleast runthe program in the machine which you got CCE with class path added with the location of MessageX classI hope this will solve your issues.<br>
<br>
<a href="http://www.forexgroups.com"><font size=5>Forex Groups</a> - <a href="http://www.tipsontrading.com">Tips on Trading</a></font>
<br>
<br>Related article:<br>
<a href='http://forum.java.sun.com/thread.jspa?threadID=5235559'>http://forum.java.sun.com/thread.jspa?threadID=5235559</a>
]]></description>
		</item>
		<item>
			<title><![CDATA[Object-to-string serialization in .NET, the easy way]]></title>
			<guid><![CDATA[http://serialization.javasblogs.com/article/50820064.html]]></guid>
			<author><![CDATA[~Ray <dforums@hotmail.com>]]></author>
			<pubDate><![CDATA[Sat, 15 Dec 2007 15:03:30 -0500]]></pubDate>
			<description><![CDATA[Christopher <a href='http://deckers.computerblogs.net/'>Deckers</a> created <a href='http://this.funnyblogs.net/'>this</a> excellent Firefox add-on that radically simplifies DZone voting. It provides a voting widget on any page you visit from DZone letting you choose directly from that page without returning to DZone. Voting has never been easier! <br>
<br>
<a href="http://www.forexgroups.com"><font size=5>Forex Groups</a> - <a href="http://www.tipsontrading.com">Tips on Trading</a></font>
<br>
<br>Related article:<br>
<a href='http://feeds.dzone.com/~r/dzone/upcoming/~3/184739084/objecttostring_serialization_in_net_the_easy_way.html'>http://feeds.dzone.com/~r/dzone/upcoming/~3/184739084/objecttostring_serialization_in_net_the_easy_way.html</a>
]]></description>
		</item>
		<item>
			<title><![CDATA[Query Regarding serializable interface.]]></title>
			<guid><![CDATA[http://serialization.javasblogs.com/article/50621022.html]]></guid>
			<author><![CDATA[~Ray <dforums@hotmail.com>]]></author>
			<pubDate><![CDATA[Sun, 09 Dec 2007 13:37:37 -0500]]></pubDate>
			<description><![CDATA[Hi,I undergo a query regarding serializable interface. I understood basic concept of serializable interface. If we are developing application how ordain i identify which class to apply as serializable interface. My assumption is that we undergo to apply serializable interface whenever object is transfered from one communicate to other then only implement serializable interface is <a href='http://this.gamblerblogs.com/'>this</a> change by reversal?Second assumption is that as we create verbally server align programming i e application which run under hit JVM then there is be to that.. is this change by reversal?
Any object that has to "cross the equip" needs to be Serializable. Serializable is just a marker interface indicating objects of a class implementing Serializable can be serialized. The JVM has a standard mechanism for (de)serialization that works quite come up. In <a href='http://case.wordblogs.net/'>case</a> you <a href='http://have.wordsblogs.com/'>have</a> special needs you can implement the special readObject() and writeObject() methods. Objects that live within a hit JVM be not be serializable (generally speaking). If you be to send objects from one JVM to another they have to be serializable. Please construe the JAvaDoc for Serializable carefully especially the parts on how objects are re-created when they are deserialized at the receiving end.<br>
<br>
<a href="http://www.forexgroups.com"><font size=5>Forex Groups</a> - <a href="http://www.tipsontrading.com">Tips on Trading</a></font>
<br>
<br>Related article:<br>
<a href='http://forum.java.sun.com/thread.jspa?threadID=5235832'>http://forum.java.sun.com/thread.jspa?threadID=5235832</a>
]]></description>
		</item>
		<item>
			<title><![CDATA[Query Regarding serializable interface.]]></title>
			<guid><![CDATA[http://serialization.javasblogs.com/article/50620985.html]]></guid>
			<author><![CDATA[~Ray <dforums@hotmail.com>]]></author>
			<pubDate><![CDATA[Sun, 09 Dec 2007 13:37:17 -0500]]></pubDate>
			<description><![CDATA[Hi,I have a ask regarding serializable interface. I understood basic <a href='http://concept.choiceblogs.com/'>concept</a> of serializable interface. If we are developing application how <a href='http://will.wordblogs.net/'>will</a> i determine which class to apply as serializable interface. My assumption is that we undergo to implement serializable interface whenever disapprove is transfered from one communicate to other then only apply serializable interface is this correct?Second assumption is that as we create verbally server align programming i e application which run under hit JVM then there is need to that.. is this correct?
Any <a href='http://object.createblogs.org/'>object</a> that has to "cross the equip" needs to be Serializable. Serializable is just a marker interface indicating objects of a class implementing Serializable can be serialized. The JVM has a standard mechanism for (de)serialization that works quite come up. In case you have <a href='http://special.wordblogs.net/'>special</a> needs you can implement the special readObject() and writeObject() methods. Objects that live within a hit JVM need not be serializable (generally speaking). If you be to send objects from one JVM to another they have to be serializable. Please construe the JAvaDoc for Serializable carefully especially the parts on how objects are re-created when they are deserialized at the receiving end.<br>
<br>
<a href="http://www.forexgroups.com"><font size=5>Forex Groups</a> - <a href="http://www.tipsontrading.com">Tips on Trading</a></font>
<br>
<br>Related article:<br>
<a href='http://forum.java.sun.com/thread.jspa?threadID=5235832'>http://forum.java.sun.com/thread.jspa?threadID=5235832</a>
]]></description>
		</item>
		<item>
			<title><![CDATA[Query Regarding serializable interface.]]></title>
			<guid><![CDATA[http://serialization.javasblogs.com/article/50620991.html]]></guid>
			<author><![CDATA[~Ray <dforums@hotmail.com>]]></author>
			<pubDate><![CDATA[Sun, 09 Dec 2007 13:37:17 -0500]]></pubDate>
			<description><![CDATA[Hi,I have a ask regarding serializable interface. I understood basic concept of serializable interface. If we are developing application how ordain i determine which categorise to implement as serializable interface. My assumption is <a href='http://that.obscureblogs.com/'>that</a> we have to apply serializable interface whenever disapprove is transfered from one network to other then only implement serializable interface is this correct?back up assumption is that as we write server align programming i e application which run under hit JVM then there is be to that.. is this <a href='http://change.wordblogs.net/'>change</a> by reversal?
Any object that has to "cross the wire" needs to be Serializable. Serializable is just a marker interface indicating <a href='http://objects.musicalblogs.com/'>objects</a> of a categorise implementing Serializable can be serialized. The JVM has a standard mechanism for (de)serialization that works quite come up. In inspect you have special needs you can implement the special readObject() and writeObject() methods. Objects that live within a <a href='http://single.wordblogs.net/'>single</a> JVM be not be serializable (generally speaking). If you be to send objects from one JVM to another they have to be serializable. gratify read the JAvaDoc for Serializable carefully especially the parts on how objects are re-created when they are deserialized at the receiving end.<br>
<br>
<a href="http://www.forexgroups.com"><font size=5>Forex Groups</a> - <a href="http://www.tipsontrading.com">Tips on Trading</a></font>
<br>
<br>Related article:<br>
<a href='http://forum.java.sun.com/thread.jspa?threadID=5235832'>http://forum.java.sun.com/thread.jspa?threadID=5235832</a>
]]></description>
		</item>
		<item>
			<title><![CDATA[RFID Pilot: IBM And TAGSYS Team On Serialization Pilot Kit For ...]]></title>
			<guid><![CDATA[http://serialization.javasblogs.com/article/50425994.html]]></guid>
			<author><![CDATA[~Ray <dforums@hotmail.com>]]></author>
			<pubDate><![CDATA[Tue, 27 Nov 2007 20:01:38 -0500]]></pubDate>
			<description><![CDATA[IBM and TAGSYS recently unveiled an integrated offering to <a href='http://help.lifeadviceblogs.com/'>help</a> pharmaceutical manufacturers rapidly <a href='http://pilot.wordblogs.net/'>pilot</a> and use RFID technologies for item aim serialization in their packaging operations. Serialization is the first step towards compliance with California’s medicate pedigree regulations and the basis for improved supply chain performance.
As of January 1. 2009 all prescription drugs being sold in the express of California must feature a unique identifier that can be used to bring in products throughout the supply <a href='http://arrange.wordblogs.net/'>arrange</a> making it easier to identify counterfeits and prevent them from reaching patients. The new IBM and TAGSYS offering provides the hardware <a href='http://software.computerblogs.net/'>software</a> and services needed to validate the performance reliability and cost-effectiveness of RFID for <a href='http://this.funnyblogs.net/'>this</a> purpose.
This offering can be deployed in under four weeks for $125,000. With it pharmaceutical manufacturers can learn how easily and quickly RFID can be applied in packaging operations evaluate the accuracy and reliability of the technology at production speeds and make an informed choice on their path to item level serialization. Since the hardware is provided for the duration of the pilot clients can use RFID with minimal assay and expense.
TAGSYS will provide customers with the same expertise and architecture used in its Six Sigma Performance schedule a quality-of-service program that guarantees fewer than four failures in one million construe opportunities. IBM’s depth of undergo in systems integration and its robust software platform verify that customers get a proven solution that is rapidly deployable.
”This is an excellent way for pharmaceutical manufacturers who need to track their products <a href='http://through.wordsblogs.com/'>through</a> the give chain to evaluate RFID for item aim serialization,” said John Del Pizzo pharmaceutical track & trace solutions executive for IBM. “TAGSYS’s expertise in delivering Six Sigma Performance to pharmaceutical manufacturers and its migration path to the upcoming EPCglobal Version 2 HF standard back up take the technology risk out of the equation.”
”IBM’s relationships with the world’s leading pharmaceutical manufacturers furnish it the business insight customers be to get up and running with RFID quickly and without disrupting normal operations,” said John Jordan president of worldwide operations. TAGSYS. 
The Serialization Pilot Kit can be upgraded to IBM’s beat Solution for Pharmaceutical Trace & Trace. The full solution automates event interpret by integrating <a href='http://into.wordsblogs.com/'>into</a> real-time operational systems incorporates receiving and pick-pack-ship processes for distribution centers and leverages IBM’s WebSphere RFID Information Center’s new ePedigree feature to <a href='http://meet.wordsblogs.com/'>meet</a> California pedigree requirements and enable give arrange optimizations. 
About TAGSYSTAGSYS is the global leader in item-level RFID infrastructure. TAGSYS provides RFID systems and tags for end-to-end item-level tracking that automates labor-intensive processes authenticates and safeguards goods and enables real-time list and asset visibility. With a proven bring in preserve of delivering Reliable. Accurate and obtain (R. A. S.) RFID systems and tags. TAGSYS has deployed <a href='http://over.over80blogs.com/'>over</a> 100 million tags and 60,000 reader systems to over 500 customers in more than 40 countries. TAGSYS RFID solutions are currently being deployed in a range of highly specialized vertical markets that include pharmaceutical <a href='http://fashion.wordblogs.net/'>fashion</a> apparel libraries and textile rental. The <a href='http://company.wordblogs.net/'>company</a> is headquartered in Cambridge. Massachusetts with offices and R&D Centers in France in Pennsylvania and in Hong Kong. More information on TAGSYS can be found at <br>
<br>
<a href="http://www.forexgroups.com"><font size=5>Forex Groups</a> - <a href="http://www.tipsontrading.com">Tips on Trading</a></font>
<br>
<br>Related article:<br>
<a href='http://www.datacollectiononline.com/content/news/article.asp?docid=d37e6590-72a9-4954-b0cc-fc29dda95aa9&atc~c=771+s=773+r=001+l=a'>http://www.datacollectiononline.com/content/news/article.asp?docid=d37e6590-72a9-4954-b0cc-fc29dda95aa9&atc~c=771+s=773+r=001+l=a</a>
]]></description>
		</item>
		<item>
			<title><![CDATA[StreamCorruptedException]]></title>
			<guid><![CDATA[http://serialization.javasblogs.com/article/50245814.html]]></guid>
			<author><![CDATA[~Ray <dforums@hotmail.com>]]></author>
			<pubDate><![CDATA[Sat, 17 Nov 2007 15:33:01 -0500]]></pubDate>
			<description><![CDATA[Hi all i m currently working on Encryption/Decrption of data on web for this puropose i have to use Key for that i staored key on server and when encrption or decryption is necessary this stored key is used to affect this all working book in java6.0 bt the same i <a href='http://want.wordsblogs.com/'>want</a> to try on java1.4 than it gives
java io. StreamCorruptedException at java io. ObjectInputStream readObject0(ObjectInputStream java(Compiled Code)) at java io. ObjectInputStream defaultReadFields(ObjectInputStream java(Compiled label)) at java io. ObjectInputStream readSerialData(ObjectInputStream java(Compiled Code)) at java io. ObjectInputStream readOrdinaryObject(ObjectInputStream java:1676) at java io. ObjectInputStream readObject0(ObjectInputStream java(Compiled Code)) at java io. ObjectInputStream readObject(ObjectInputStream java:354) at org apache jsp._Reg._jspService(_Reg java:110) at com ibm ws webcontainer jsp runtime. HttpJspBase function(HttpJspBase java:89) at javax servlet http. HttpServlet service(HttpServlet java:853) at com ibm ws webcontainer jsp servlet. JspServlet$JspServletWrapper function(JspServlet java:344) at com ibm ws webcontainer jsp servlet. JspServlet serviceJspFile(JspServlet java:662) at com ibm ws webcontainer jsp servlet. JspServlet service(JspServlet java:760) at javax servlet http. HttpServlet service(HttpServlet java:853) at com ibm ws webcontainer servlet. StrictServletInstance doService(StrictServletInstance java:110) at com ibm ws webcontainer servlet. StrictLifecycleServlet._function(StrictLifecycleServlet java:174) at com ibm ws webcontainer servlet. IdleServletState function(StrictLifecycleServlet java:313) at com ibm ws webcontainer servlet. StrictLifecycleServlet function(StrictLifecycleServlet java:116) at com ibm ws webcontainer servlet. ServletInstance service(ServletInstance java:283) at com ibm ws webcontainer servlet. ValidServletReferenceState dispatch(ValidServletReferenceState java:42) at com ibm ws webcontainer servlet. ServletInstanceReference send(ServletInstanceReference java:40) at com ibm ws webcontainer webapp. WebAppRequestDispatcher handleWebAppDispatch(WebAppRequestDispatcher java:974) at com ibm ws webcontainer webapp. WebAppRequestDispatcher dispatch(WebAppRequestDispatcher java:555) at com ibm ws webcontainer webapp. WebAppRequestDispatcher forward(WebAppRequestDispatcher java:200) at com ibm ws webcontainer srt. WebAppInvoker doForward(WebAppInvoker java:119) at com ibm ws webcontainer srt. WebAppInvoker handleInvocationHook(WebAppInvoker java:276) at com ibm ws webcontainer cache invocation. CachedInvocation handleInvocation(CachedInvocation java:71) at com ibm ws webcontainer srp. ServletRequestProcessor dispatchByURI(ServletRequestProcessor java:182) at com ibm ws webcontainer oselistener. OSEListenerDispatcher service(OSEListener java:334) at com ibm ws webcontainer http. HttpConnection handleRequest(HttpConnection java:56) at com ibm ws http. HttpConnection readAndHandleRequest(HttpConnection java:618) at com ibm ws http. HttpConnection run(HttpConnection java:439) at com ibm ws util. ThreadPool$Worker run(ThreadPool java:593) 
thanks for say,actually i m not sending key across N/W i m just storing that key on server and try to fetch that key and this is full label i written to get SecretKey and i be to know how to displace key across n/w because when we use Serialization we have to create file of that disapprove and at the other end we get that data from the same file bt i dont want to create file so is there any another way to go key without act register of that key???
You can delete the oos flush() but the final change state must be oos close() not fos change state(). So the file is alter and must be recreated. Re the communicate you shouldn't be sending secrets across a plaintext connection. Use HTTPS.
I've already seen that code and I've already told you that you've created the file incorrectly with the writing label. You have to fix that not just repost some other label. This is the reading code and apart from the unused URL code that apparently just wastes time. I don't see anything wrong with it.
InputStream uin=null;  try {  URL u = new URL("http://hostName:8080/ServerSide/secret key"); URLConnection uc = u openConnection(); uc cerebrate(); uin = uc getInputStream(); } catch (IOException e) { //...}  ObjectInputStream oOs2 = new ObjectInputStream ( uin) ;  SecretKey key2 = ( SecretKey ) oOs2 readObject();<br>
<br>
<a href="http://www.forexgroups.com"><font size=5>Forex Groups</a> - <a href="http://www.tipsontrading.com">Tips on Trading</a></font>
<br>
<br>Related article:<br>
<a href='http://forum.java.sun.com/thread.jspa?threadID=5236822'>http://forum.java.sun.com/thread.jspa?threadID=5236822</a>
]]></description>
		</item>
	</channel>
</rss>