Yes you can write ObjectStreams over http, I have done it and like I said it is much faster than writing a DataStream over http because it is one method call opposed to lots, and that''s one native method call!
Trust me, in the first cut of Eldian I wrote load methods that used DataStreams and you have to make sure that the load & save are the same and etc....
It''s a pain in the arse! ObjectStreams are so easy to use and they are really fast, plus you can write to what ever you want http, files what ever!
In The Chaoslab2 I will be used XML for every thing, but for fast performance based data transmission and storage I will be using ObjectStreams as they rock and I wished I had known how to use them when I started Eldian all those years ago.
[java] Say-Ving-the -game
quote:Original post by Chaoslab
Yes you can write ObjectStreams over http, I have done it and like I said it is much faster than writing a DataStream over http because it is one method call opposed to lots, and that''s one native method call!
Trust me, in the first cut of Eldian I wrote load methods that used DataStreams and you have to make sure that the load & save are the same and etc....
It''s a pain in the arse! ObjectStreams are so easy to use and they are really fast, plus you can write to what ever you want http, files what ever!
In The Chaoslab2 I will be used XML for every thing, but for fast performance based data transmission and storage I will be using ObjectStreams as they rock and I wished I had known how to use them when I started Eldian all those years ago.
I didn''t see it, but is the Source for those games available??
No the source is not available for the games....
I will probably place some graphics based source code onto the Chaoslab2 site some time after the new lab has been finished.
Object Streaming is easy and I am quite happy to post some source here if ya need it.
:-)
I will probably place some graphics based source code onto the Chaoslab2 site some time after the new lab has been finished.
Object Streaming is easy and I am quite happy to post some source here if ya need it.
:-)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement