473,407 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Serialization between Java 1.1.4 and Java 1.4.1

Hello,

It seems to me to be in some kinda trouble. I wanted to implement
communication between Java applet and Server through sockets and
Serialization. So, I serialize Object, send it to server which deserialize
it with no problems. In other direction problems came out since Object
serialized under Java 1.4.1 seems to be not deserializable under Java 1.1.4.
(MS VM). If applet si run under J2, there are no problems, but I cannot push
people to download some 15MB of new JRE just to accomplish my requirements,
especially if applet needs not implementation of features of new JRE...

What should I do?


Jul 17 '05 #1
2 2984
"Ante Sabo" <as***@baron.foi.hr> wrote in message news:<bp**********@bagan.srce.hr>...
Hello,

It seems to me to be in some kinda trouble. I wanted to implement
communication between Java applet and Server through sockets and
Serialization. So, I serialize Object, send it to server which deserialize
it with no problems. In other direction problems came out since Object
serialized under Java 1.4.1 seems to be not deserializable under Java 1.1.4.
(MS VM). If applet si run under J2, there are no problems, but I cannot push
people to download some 15MB of new JRE just to accomplish my requirements,
especially if applet needs not implementation of features of new JRE...

What should I do?


If you read through any articles, books, tutorials on serialization
you'll no doubt have spotted that there is a way for an object to
take control of its own serialization process. Reading between the
lines, it seems that you thought that serialization would be a good
way (a lazy way - not that there's anything wrong with being lazy)
of moving your data between machines, without creating your own
'protocol' to describe the data. Unfortunately if you want to share
objects between such a wide span of Java versions then you'll either
have to use your own protocol - or write your own code to selectively
'pack and unpack' your objects from the serialize streams (which
probably amounts to pretty much the same thing, close enough!)

-FISH- ><>
Jul 17 '05 #2
nos
ASN.1 maybe

"Ante Sabo" <as***@baron.foi.hr> wrote in message
news:bp**********@bagan.srce.hr...
Hello,

It seems to me to be in some kinda trouble. I wanted to implement
communication between Java applet and Server through sockets and
Serialization. So, I serialize Object, send it to server which deserialize
it with no problems. In other direction problems came out since Object
serialized under Java 1.4.1 seems to be not deserializable under Java 1.1.4. (MS VM). If applet si run under J2, there are no problems, but I cannot push people to download some 15MB of new JRE just to accomplish my requirements, especially if applet needs not implementation of features of new JRE...

What should I do?

Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: psy000 | last post by:
Hi, I have a C# web service client that talks to a JAVA application sever. I use AXIS to generate the WSDL file, use wsdl.exe to generate proxy stub c# code. When I try to use c# client connect...
2
by: Mike Schilling | last post by:
Is there an official specification for .NET serialization? I've looked at the .NET framework docs and read Jeffrey Richter's MSDN articles, but I'm looking for something more complete,...
3
by: Aaron Clamage | last post by:
Hi, I'm not sure that if this is the right forum, but any help would be greatly appreciated. I am porting some java serialization code to c# and I can't figure out the correct way to do it. ...
1
by: Ray Mitchell | last post by:
Hello, I have two Java applications that exchange serialized objects. Although I would like to ultimately convert both to C# it's a pretty monumental task, especially for someone just learning...
6
by: Uttam | last post by:
Hello, We are at a very crucial decision making stage to select between .Net and Java. Our requirement is to download a class at runtime on the client computer and execute it using remoting or...
11
by: ajou_king | last post by:
I was running some tests on my Win32 1GHZ processor to see how long it would take to transmit objects numerous times via TCP/IP using C# ..NET Remoting vs the C++ trustworthy method of binary...
0
by: umhlali | last post by:
I get the following exception when my VB.NET app calls a Java web service that returns an array of objects. The same call works for a single object though. So looks like there is no problem...
1
by: Christo | last post by:
as part of a project at uni i have been asked to provide object persistance through files I have opted for serialization my question is quite simple when u use serialization is an object...
0
by: JosAH | last post by:
Introduction Upon hearing the word, "Serialization", the first question which comes to mind is ... "What is Serialization?" We know that we can create resusable objects in Java. But the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.