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

    Default How to serialize ResourceBudle


    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. ?


  2. #2
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Rep Power

    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.

Similar Threads

  1. Serialize ActionListener
    By Dennis in forum Advanced Java
    Replies: 4
    Last Post: 01-21-2011, 09: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, 11:54 AM
  3. Serialize this!
    By dustybray in forum Advanced Java
    Replies: 1
    Last Post: 12-03-2010, 02: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