Results 1 to 20 of 24
Thread: Urgent
- 07-23-2010, 08:50 AM #1
Member
- Join Date
- Jul 2010
- Posts
- 5
- Rep Power
- 0
- 07-23-2010, 09:05 AM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,484
- Rep Power
- 16
??
Could you explain that again?
Beyond serializing I didn't really understand any of that.
- 07-23-2010, 09:11 AM #3
Senior Member
- Join Date
- Apr 2010
- Location
- Belgrade, Serbia
- Posts
- 278
- Rep Power
- 4
^ You are right.
Please explain it better. Give us some example of that what you are trying to do.
- 07-23-2010, 03:49 PM #4
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,606
- Blog Entries
- 7
- Rep Power
- 17
I think he only wants the banana, not the entire gorilla that comes with it; i.e. the OP only wants one instance variable value, not the entire object. The Serializable API documentation gives quite a lot of clues about tailoring the serialization process itself for certain classes.
kind regards,
Jos
-
Yeah, but he wants it urgently. Sadly we are likely too late.I think he only wants the banana
- 08-05-2010, 05:18 PM #6
Member
- Join Date
- Aug 2010
- Posts
- 11
- Rep Power
- 0
agentkiran007,
I am guessing you are looking store an object data into database. If my guess is right,please go through this document
Steps to insert Blob object in MySql | Java Cafe
(Note:To work with that code,please replace the character “ with character " in that code)
If you want to avoid particular instance variables while storing the object into database, use "transient" keyword along with the declaration of those particular instance variables.
- 08-05-2010, 05:20 PM #7
Moderator
- Join Date
- Apr 2009
- Posts
- 10,484
- Rep Power
- 16
Serialising objects into a db always fills me with dread...
- 08-05-2010, 08:53 PM #8
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,606
- Blog Entries
- 7
- Rep Power
- 17
- 08-06-2010, 08:55 AM #9
Moderator
- Join Date
- Apr 2009
- Posts
- 10,484
- Rep Power
- 16
What do you do it for though?
Is it done locally (embedded possibly), or is it some way of transmitting between systems?
- 08-06-2010, 09:55 AM #10
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,606
- Blog Entries
- 7
- Rep Power
- 17
It's hasn't any special purpose; one of my hobby projects is a functional language RPL (Reverse Polish Lisp) and it has a 'persistent' store in which I can store RPL objects associated to other RPL objects. When I ask for the key it passes me back the associated value which can be used in my RPL system again. I use a relational database for the persistent storage and the RPL objects are simply serialized forms of the internal objects; I think it's fun ;-)
I keep a repository on Huddle; if you're interested I can make you a member of the project (there's one other member in South Africa so there is a user group ;-)
kind regards,
Jos
- 08-06-2010, 10:12 AM #11
Moderator
- Join Date
- Apr 2009
- Posts
- 10,484
- Rep Power
- 16
"Reverse Polish Lisp"?
(from here)RPL/2 is a special language, and could be the strange child of forbidden love between Lisp and Forth. The reversed polish notation and the definitional working come from Forth, only keeping an anonymous stack; the control structures come from Lisp. What a brilliant genealogy !
Good God!
:eek:
- 08-06-2010, 10:17 AM #12
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 8
- 08-06-2010, 10:20 AM #13
- 08-06-2010, 10:25 AM #14
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,606
- Blog Entries
- 7
- Rep Power
- 17
No, there's nothing special about its evaluation scheme; it is simple as a matter of fact. My version of RPL can also do infix expressions (they are translated to their postfix form internally before evaluation) and lots of other things are possible with it, such as symbolic evaluation, memoization, tail recursion removal, lambda bindings, lazy evaluation, closures (Java can't do it properly, neener, neener, neener! ;-) and some niche features such as voice synthesis. html streams and a simple IDE for the language to make it workable; it can also run in parallel with other (identical) RPL evaluators on any machine or cluster thereof; I do like to test that feature over the internet.
kind regards,
Jos
- 08-06-2010, 10:29 AM #15
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 8
"Reverse Polish Lisp"
Does that mean that "TH" sounds like "S"? ;-)
- 08-06-2010, 10:32 AM #16
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,606
- Blog Entries
- 7
- Rep Power
- 17
- 08-06-2010, 09:58 PM #17
Don't you mean "Reverth Polith Lithp" ? ;-)
- 08-06-2010, 11:14 PM #18
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,606
- Blog Entries
- 7
- Rep Power
- 17
-
Negative repth for all who lithped in thith thread! Geesh!
- 08-07-2010, 08:23 AM #20
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,606
- Blog Entries
- 7
- Rep Power
- 17
Similar Threads
-
[URGENT]SHA Encryption System...need urgent helps
By java_idiot in forum New To JavaReplies: 6Last Post: 05-02-2010, 10:04 AM -
Urgent
By Anchal in forum Java ServletReplies: 1Last Post: 04-10-2010, 05:35 PM -
Urgent ???
By programmer_007 in forum EntertainmentReplies: 0Last Post: 04-02-2010, 11:49 AM -
Help Urgent pls pls pls!!!!
By jammyjamsticy in forum Java 2DReplies: 5Last Post: 05-06-2009, 10:55 PM -
Help me ...urgent!
By googgoo in forum New To JavaReplies: 7Last Post: 04-05-2008, 08:46 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks