Results 1 to 2 of 2
  1. #1
    uthpalaw is offline Member
    Join Date
    Mar 2010
    Posts
    68
    Rep Power
    0

    Default How to serialize ResourceBudle

    Hi,

    In my application i'm using java.util.ResourceBundle class. This is not serialized. My application works perfectly in a single node. But if i moved it to clustered mode resource bundle object will not be replicated to other server becasue it's not serializable.

    Can anyone explain me how to resolve this issue. ?

    Thanks,
    Uthpala

  2. #2
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Location
    Chennai
    Posts
    806
    Rep Power
    6

    Default Re: How to serialize ResourceBudle

    You can't serialize ResourceBundle Object.

    Just retreive the values from the ResourceBundle object in to your own class and send the object.It's the only way.
    Ramya:cool:

Similar Threads

  1. Serialize ActionListener
    By Dennis in forum Advanced Java
    Replies: 4
    Last Post: 01-21-2011, 08:36 AM
  2. Serialize array in java and unserialize in php
    By chintan.vyas89 in forum New To Java
    Replies: 2
    Last Post: 01-09-2011, 10:54 AM
  3. Serialize this!
    By dustybray in forum Advanced Java
    Replies: 1
    Last Post: 12-03-2010, 01:31 AM
  4. To serialize or not to serialize?
    By XmisterIS in forum New To Java
    Replies: 2
    Last Post: 09-21-2010, 01:37 PM
  5. serialize to web service?
    By theartz in forum Advanced Java
    Replies: 2
    Last Post: 08-16-2008, 01:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •