Are there any problems to expect when srializing java.lang.Object?

When having code like this:
public class SomeClass implements Serializable{
private final String NULL_CONSTANT="dmmystring";
private Object result=new String(NULL_CONSTANT);
...whatever
Class java.lang.Object is not implementing the Serializable Interface. In practise, this works fine however, I would like to understand this question. Will serialization work in every case as long as result is set to a serializable type?

hi,
If the object does not implement the Serilizable marker interface, then when you try to serialize the object, you will get a NotSerializableException. Also when you try to serialize a object, java will check to see if any variables contained in the object are also serializable and if so it serializes the same so in effect all attributes of the object must be either serializable or marked transient. When you mark a variable as transient, for eg
transient Vector v;
this object will not be serialized.
you might want to check out the article at
http://java.sun.com/docs/books/performance/1st_edition/html/JPIOPerformance.fm.html#11352
It contains ways to improve serialization, but it will also be useful in understanding the Serialization concepts as such...
hope this helpzz
cheerz
ynkrish

Similar Messages

  • Are there any problems running oracle database express 10g and iis together

    Are there any problems running oracle database express 10g on an windows 2000 server or advanced server running iis 5?
    Does oracle database express cause any conflicts with iis (because of used ports etc)
    Could an server have running on it, both an website using iis and an oracle database express website without conflicts?

    I would not expect a problem under normal circumstances.
    Oracle's listener is set for a default port 1521 for database requests, port 8080 for HTMLDB requests. The database connections generally find an empty port above 1024 when establishing a connection.
    So, if IIS does not want to use 1521 or 8080, you will generally see no challenges. Even then it is fairly easy to move ORacle's port requirements elsewhere.
    Using port 8080 seems reasonably common, but that is easily changed - search for sethttpport in this forum. IIS tromping on 1521 would be rare as it has been a well known Oracle service port since, roughly, forever.

  • Are there any problems with motion menus and buttons in DVDSP 2 on OS 10.4?

    I have not used DVD Studio Pro 2 since upgrading to Tiger but it appears to no longer be showing moving motion on menus and buttons.
    Are there any problems that I should be aware of when using DVDSP2 on OS 10.4?
    I have not upgrade to a newer version only because I do not have any HD software to create DVDs.
    Thanks
    Paul

    New Discussions ReponsesThe new system for discussions asks that after you mark your question as Answered, you take the time to mark any posts that have aided you with the tag and he post that provided your answer with the
    tag. This not only gives points to the posters, but points anyone
    searching for answers to similar problems to the proper posts.
    If we use the forums properly they will work well...

  • Are there any problems with Snow Leopard Server (Xserve) and PPC Clients

    Hi,
    are there any problems identified yet with Snow Leopard Server, installed on a Xserve and PPC Clients running Mac OS X Tiger and Leopard?
    Currently I have a Xserve Intel running Leopard Server and about 12 Mac Minis PPC running Mac OS X Tiger and Mac OS X Leopard. The Xserve serves services like DNS, OpenDirectory, Software Update Server, NetBoot, etc. All users have Home Directories stored on the Xserve.
    Now I want to install Snow Leoaprd Server on the Xserve, but I wonder if there are any problems using the PPC Clients? I have read something like this on a german website.
    Thanks!

    We've actually found that the Server 10.6.3 DVD does an amazingly smooth job of upgrading 10.5.8. We've been upgrading our production servers and nothing has gone wrong yet. Snow Leopard employs an archive and install method of upgrading which results in an install which is very close to a clean install. So it's been very convenient for us because our servers are used as Windows PDCs and it's a pain in the *** to have to re-join all PCs to the domain if we start from scratch.

  • Are there any problems using a back cover.

    I want to protect the back of my iPad from scratches. Are there any problems using a skin or cover on the back?

    Is it  ok to cover the back of iPad 2? Won't it affect the cooling system? Coz I don't see any ventilation point and it may be the back metal plate itself which brings out the heat. I purchased a "Targus" back cover from apple store and it fits perfectly and beautifully also very comfortable to handle but I removed it thinking that it might harm., also Apple hasn't introduced any sort of back cover either, only the smart cover for the screen they have, may be coz the back is designed to be open to the air.

  • Are there any problems using an ipad imported to the UK from korea?

    Are there any problems buying an Ipad in South Korea to use in the UK?

    Me too - its a possible gift and (like most things) iPhones are cheaper in the states than in Canada.  
    I'm assuiming these phones are universal.  But i'd rather know before buying. 
    Thanks

  • HT4623 Should I update my iphone4 to iOS 7?Are there any problems in this?

    Should I update my iphone4 to iOS 7?Are there any problems in this.

    I read the same thing about iOS 3, 4, 5, 6. You come to a forum that provides support, you are going to read problems. I did not have any, but I didn't come here to report that. Just like asking if everyone you see in an emergency room is sick.

  • Are there any problems with a "required Extended Protection" / "Always On" / "Livelink Server" combination?

    Hello,
    we have a Livelink  Server database running with two replicas on two nodes as Always On Group, both instances running extended protection in "allowed" mode.
    Our company security policy demands setting the extended protection to "required".
    Are there any known problems with a "required Extended Protection" / "Always On" / "Livelink Server" combination?
    Environment:
    OS: Windows Server 2008 R2 Enterprise X64 SP1
    DB: SQL Server 2012 (11.0.5556.0)
    Thx & BR
    Achim

    Hi Achim,
    According to my knowledge, there are no known problems with a "required Extended Protection" / "Always On" / "Livelink Server" combination.
    Extended Protection helps to prevent an authentication relay attack by using service binding and channel binding. We need to note that when Extended Protection is set to
    Required, only connections from protected applications on protected operating systems are accepted. This setting is the most secure but connections from operating systems or applications that do not support Extended Protection will not be able
    to connect to SQL Server. For more details, please review the following article.
    Connect to the Database Engine Using Extended Protection
    https://msdn.microsoft.com/en-us/library/ff487261(v=sql.110).aspx
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • Are there any problems using the Ipad while is is plugged into the wall and charging?

    Are there any contraindications using the Ipad while it is plugged into the wall and charging???

    The quickest way (and really the only way) to charge your iPad is with the included 10W USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter (5W). When attached to a computer via a standard USB port (most PCs or older Mac computers) iPad will charge very slowly (but iPad indicates not charging). Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    At this link http://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.html , tests show that the iPad 2 battery (25 watt-hours) will charge to 90% in 3 hours 1 minute. It will charge to 100% in 4 hours 2 minutes. The new iPad has a larger capacity battery (42 watt-hours), so using the 10W charger will obviously take longer. If you are using your iPad while charging, it will take even longer. It's best to turn your new iPad OFF and charge over night. Also look at The iPad's charging challenge explained http://www.macworld.com/article/1150356/ipadcharging.html
    Also, if you have a 3rd generation iPad, look at Apple: iPad Battery Nothing to Get Charged Up About
    http://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abou t/
    Apple Explains New iPad's Continued Charging Beyond 100% Battery Level
    http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging- beyond-100-battery-level/
     Cheers, Tom

  • Are there any problems with un-compressing a drive?

    Bottman wrote:
    The only issue that I can think of is if the compressed files are then larger than the available space on the drive.
    If you're worried about this, you could uncompress a block of files at a time.
    The drive is currently 67% free.  I don't know what the compression ratio is but it probably wouldn't cause an issue with drive space.

    I have a very important 2TB logical disk (NTFS, Basic, not the system disk) attached to a Server 2008 R2 virtual machine.  Write performance has been very slow with large files and I realized that "Compress this drive to save disk space" is checked for the whole drive.  Are there any issues with disabling this feature?  It's easy enough to enable but I don't know what happens when I disable it.
    This topic first appeared in the Spiceworks Community

  • Are there any problems with Lion and Adobe CS5 ?

    I am wanting to upgrade to Lion but don't want to have the hassle of trying to fix any problems as I have heard some people had problems with earlier versions of Adobe Creative Suit and Lion and having recently moved I have no clue where my CS5 keys are so before doing so I want to know there will be no errors.
       Peoples experiences would be appreciated and many thanks.

    I have upgraded two Mac mini's which both have the Adobe Creative Suit Cs5 Acrobat, Illustrator, InDesign and Photoshop. I have had no issues regrding the upgrade, they just work.
    However I do have two user interface issues. InDesign the keyboard page up, page down keys no longer work as expected, they simply jump to the next screen, the workaround is to use a trackpad for the left hand and use two finger scrolling.
    The other is the arrow buttons in the vertical scroll bar no longer exist, so again the trackpad comes in for scrolling.
    This applies for almost all software and the finder.

  • Are ther any Problems with HTML in iOS 6?

    We are having a problem with animated HTML-Objects in Adobe DPS. It's seems to be related with the iOS 6 update. We have two iPads, one with the updated software (iOS 6) and the other without it (iOS 5). Both of these have been updated with the new Adobe Content Viewer. The one with the old iOS works perfectly (HTML, Edge Animation, Videos) but the other with the most-up-to-date software does not. The HTML doesn't play and some times plays it once. We even tried by adding it to the HTMLResource folder to be trigger by a button to open a new window by itself, but no joy. Again we don’t have any of these problems on the iPad without the current software update. They all work perfectly

    All the HTML content on my iOS 6 devices renders fine.
    What does a web page from a non-Adobe DPS site look like?
    From your description, it's a problem with the Adobe software.
    Contact them.

  • Are there any problems with running PPro CS4 under WIN7...?

    I've successfully created a dual boot of WIN XP Pro 64-bit and WIN 7 Professional 64-bit on my RAID10, 2-TB drive.
    I've been running numerous basic programs successfully under WIN 7. It has been totally stable for over a month and therefore I am about to transition Production Premium CS4 over to the WIN 7 partition from WIN XP where I've been running it for the past two years.
    I'm just wondering if there are any consistent problems that have surfaced with this new OS and CS4?
    I've looked through the forums and don't see much, so I have high hopes. But in case I've missed something, what should I watch out for?
    Intel DX48BT2 mobo, 2.83GHz Q9550 Core2Quad, 8gb DDR3 @1333GHz, nVidia GTX260XXX, 2TB SATA RAID10 drives, 100GB SATA scratch drive, 2 x 1TB eSATA external RAID 10 drives (LaCie & JMicron w/controller card), LG SATA Blu-Ray Burner.
    All drivers & updates are current.
    TIA,

    Having learned that with ADOBE there is always some nightmare scenario, I am stopping in my tracks until I get more information.
    I installed (non-trial) Production Premium CS4 in the Win7 partition without problem. Opened PrPro and exported media using Encore and my preferred codec. So far, so good.
    As expected, I got the "Excuse the interruption" message telling me that there were already two copies with the same serial number running - I have one on my laptop and the other is, of course, in the Win XP partition on the same computer & hard drive as this new install.
    I chose the "30 days to fix the issue" option.
    This was so I could migrate my preferences, keyboard & other presets to the Win7 install and confirm their proper operation before activation.
    PITA #1 - In XP, presets, prefs, etc., are located in "c:\Documents and Settings\Administrator\Application Data\Adobe\Premiere Pro\4.0\."
                     In Win7, they are located in "c:\Users\username\AppData\Roaming\Adobe\Premiere Pro\4.0\. This is a hidden folder, so you must go to Folder Options\View and check "Show Hidden Folders." I think this is now in Control Panel\Settings ( I got there through a Help link so I'm not sure, but it is not in the folder headers "Tools" anymore).
    PITA #2 - After copying my PrPro presets, prefs, keyboard settings, etc., to the above location, I tried to open PrPro to confirm everything. This was about an hour after my previous session. I now no longer get the "30-day option!!!" Only "Activate" "Buy a License" or "Quit!"
    PITA #3 - Since I don't know how Deactivation and Activation work, I am not about to go any further. Since both copies are on the same physical computer and hard drive, they obviously cannot both be online at the same time. I am concerned that whatever happens at Adobe's end of this will not see the deactivation or will not properly activate the new install and then I'll be left with nothing operational. If they cannot keep track of the start date of the new install and wiped out the 30-day test period in an hour, I do not have much confidence that the activation process with go so well. I think there are a limited number of activations as well, and I don't know what that applies to or how that works. I can see a scenario where I have to re-activate the Win XP partition to try and track down something and then get stuck there because I've used up my activations and can't re-activate the Win7 partition.
    Anyone have any insights on any of this...???
    TIA,

  • Photoshop Premiere 9 vs 13? Are there any problems with CPU usage and crashing?

    I stopped using Premiere, because they the computer would freeze and/or the program. I was curious if there was any issue with people currently using Version 13?  I think I loaded it on this computer along with Photoshop Elements 9.  After a while I just kept Photoshop Elements.
    System Specs:
    Windows 7 premium home edition
    Processor Intel R Core TM i5-2410M CPU @ 2.30 GHz 2.30 GHz
    Installed Memory 6.00GB   826 GB free
    64 Bit Operating system

    stephanies
    If 64 bit, while 9 will be a 32 bit application with the limitations of a 32 bit application on 64 bit system, 13 will be a 64 bit application which translates into more computer resources available to 13.
    Elements Organizer 9 will not integrate with Elements Organizer 13 although you can convert the 9 catalog in Elements Organizer 13. And there is a marked difference in the workspace between the two versions. Principles tend to stay the same, but features can be moved, changed, or discontinued.
    I would have expected Premiere Elements 9/9.0.1 to have worked in your computer environment. Since it did not, I would strongly suggest that you look at the free 30 days tryout of Premiere Elements 13/13.1 in your computer environment to assure the compatibility of it with your computer environment and project goals.
    Lots of causes for program crashes (any version).
    a. Conflicts with antivirus program.
    b. Problem with video card graphics card
    c. Use of a pen and table device instead of mouse
    d. Problematic source media and format conflicts
    e. Not running program as Administrator
    f. Poor installation
    g. Failure to install QuickTime along with Premiere Elements on the computer
    h. Not meeting System Requirements in some way.
    i. Other
    https://helpx.adobe.com/premiere-elements/kb/system-requirements-premiere-elements.html
    Please review and consider. Any questions or need clarification, please do not hesitate to ask.
    Thank you.
    ATR

  • Are there any problems using transitions with a layered menu

    I am creating a DVD using layered Photoshop files for the menus. I know there are many issues when doing this.
    I have 2 questions.
    Will creating a 3 state button (normal, rollover, select) cause more problems than a 2 state button?
    Can I use the menu trasitions with a layered Photoshop menu?
    Thanks

    I don't know of many "issues". In fact i think using photoshop files is a standard practice.
    The only issue i can see from having a 3 state button is using an overlay in the normal state might create some distortion in your button, but other than that there can be some great advantages to using all three states like an overlay mask.
    Yes you can use the transitions. One of the best ways to find out is to give it a try.

Maybe you are looking for

  • In alv report , how to reserve 20 lines from beginning of page

    hi experts in alv report , how to reserve 20 lines from beginning of page. regards subhasis.

  • How do I delete an iTunes download before download completed

    I purchased a movie from iTunes but changed my mind. Can I delete before the download completes?

  • Validation at Document Type level

    Dear Seniors, We have a requirement to have a validation for posing various documents by different users. Document type  JV should be posted by only a set of users USERS1. Document type GB should be posted by only a set of users USERS2. Document type

  • Problem in BDC for cj02

    Dear Experts, I hv done recording in shdb fo  tcode cj02. i hv written driver program for the same. when i run the program, no data is getting updated, though it goes through all the fields captured in recording. it gives the following msgs. CALL_TRA

  • Fax For 10.2.8?"

    Where can I find a freeware fax for 10.2.8? Ive searched hither and yon with no joy.