Whats the meaning of the term Serialized.

Hi All,
1.         I am creating Data Transfer Object class to access data in EJB project.
Serializable is an Interface and implementing in DTO class. Whats the definite advantage of implementing this interface and Why.
2. Whats the difference between Long n long data type.
Cheers,
Senthil

Hi! Sam,
  sorry i forget to answer your second question i.e Diff b/w long and Long.
See, in Java for ever kind of variable like int, long,string there are two kinds of DataType.one is called primitive type(int, long,string) and one is called classType(Integer,Long,String).
you can convert one type to other.ClassType(like Long) is nothing but a wrapper in primitive dataType(like long).If you talk abt the value of both the dataType then the value of both the dataType will be same.
The advantage of classType variable is, they will give you some added methods which is not available in primitive type and if you wanted to deal with collection API(linkList,ArrayList) then you need classType variable.
Java is not a pure Object Oriented Language,one of the reason of this is primitive TypeData because those are not class Object.
Example:--
   string str = "Hi";
   String strObj = New String("Hi");
For more clarification please refer any Java Book.
regards,
Mithilehwar

Similar Messages

  • What is the meanning of the following ?

    hi , db 10g ,
    What is the meanning of the following :-
    1- Literals .
    2- Expressions in Sql .
    3- PL/SQL Expressions .
    4- Padded blanks .

    It is all documented.
    1 - Literal: https://web.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10759/sql_elements003.htm#sthref377
    The terms literal and constant value are synonymous and refer to a fixed data value. For example, 'JACK', 'BLUE ISLAND', and '101' are all character literals; 5001 is a numeric literal. Character literals are enclosed in single quotation marks so that Oracle can distinguish them from schema object names.
    2 -SQL Expressions: https://web.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10759/expressions001.htm
    About SQL Expressions
    An expression is a combination of one or more values, operators, and SQL functions that evaluates to a value. An expression generally assumes the datatype of its components.
    This simple expression evaluates to 4 and has datatype NUMBER (the same datatype as its components):
    2*2 
    SQL (simple) expression: https://web.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10759/expressions002.htm#sthref802
    simple_expression::=
    3 - PL/SQL expressions: https://web.stanford.edu/dept/itss/docs/oracle/10g/appdev.101/b10807/02_funds.htm#sthref211
    Expressions are constructed using operands and operators. An operand is a variable, constant, literal, or function call that contributes a value to an expression. An example of a simple arithmetic expression follows:
    -X / 2 + 3 
    Unary operators such as the negation operator (-) operate on one operand; binary operators such as the division operator (/) operate on two operands. PL/SQL has no ternary operators.
    The simplest expressions consist of a single variable, which yields a value directly. PL/SQL evaluates an expression by combining the values of the operands in ways specified by the operators. An expression always returns a single value. PL/SQL determines the datatype of this value by examining the expression and the context in which it appears.

  • What's the meaning of the various .bin files used by SAM?

    hey everyone,
    I'm trying to understand why exactly there are so many .bin files used by the SAM, and how to compile each one of them.
    My .rc file for the simulation contains:
    load bin reset.bin 0xfff0000000
    load bin q.bin 0xfff0010000
    load bin openboot.bin 0xfff0080000
    load bin nvram1 0x1f11000000
    load bin 1c1t-md.bin 0x100000
    load bin 1c1t-hv.bin 0x180000
    load bin disk1.img 0x1f40000000
    I don't understand why I have 3 different files - reset.bin, q.bin and openboot.bin when I would have expected only one bootfile.
    I also don't know what's the meaning of the 1c1t-md.bin file (what md stands for).
    If anyone could clear this subject for me, and also point me to the sources of each such file (if they exist in the project, and assume they do, at least for most of them), I'd be grateful.
    Thanks,
    Mintz Yuval

    Hi,
    Sorry I haven't replied sooner.
    I get your project now and it sounds pretty cool.
    Let me answer your last question first. The service processor resides a separate motherboard running independently of the N2 processor. The SP and N2 processor communicate via a I2C link which allows the SP to read and alter the state of the N2. The cpu, caches, NIU, memory, etc. are all connected by this link. Once the N2 is running, the SP and the N2 firmware may exchange messages via a mailbox protocol over the I2C.
    nvram1.bin is a configuration file that is OBP specific. On HW, it would be a little ROM that obp reads during the boot. Since it's in memory, SAM doesn't make any assumptions about it. You can remove it or rework it to suit u-boot.
    disk.img is the contents of a virtual disk which contains the root filesystem. This is essentially a ram disk which has been added to SAM's version of the hypervisor and/or obp. On HW, the firmware does not support this kind of virtual ram disk. For SAM, I'm pretty sure that obp is extended to create a device tree node for the virtual disk. Hypervisor may not know about the virtual disk.
    Since disk.img is a UFS (or other Solaris-oriented) filesystem, you will probably want to replace it with a ext3 or Linux-oriented filesystem. Since Linux has direct kernel support for ramdisk, you might be able to build/configure the kernel with the location of the root filesystem image in memory. Or this might be a u-boot option.
    As to 1c1t*.bin and reset.bin. On HW, the service processor is responsible for discovering all the devices and cpus on a system and writing the machine description file (e.g. 1c1t*.bin) and the reset firmware (e.g. reset.bin). These files are used during boot and various resets to initialize or reinitialize machines state for the cpus and all the i/o devices. Since SAM doesn't include a service processor, these files are static and created completely outside of SAM. The md*.bin files contents must match the configuration of cpu's in the sam.rc file -- firmware will fail if it tries to run code on a strand that is missing.
    The md and reset.bin files are used during the boot process to set-up CMT registers and do a little bit of i/o device initialization. SAM doesn't support reset modes such as warm reset.
    I hope this helps. Let me know if you need me to track down more details.
    Cheers,
    Stephen

  • What is the meaning of the oracle service  "SERVICE=orclXDB"  ?

    Hi See below.
    What is the meaning of the oracle service "SERVICE=orclXDB" ?
    SQL> r
    1 select name,
    2 value
    3 from v$parameter
    4 where upper(name) in (
    5 'DISPATCHERS',
    6 'MAX_DISPATCHERS',
    7 'SHARED_SERVERS',
    8 'MAX_SHARED_SERVERS',
    9 'CIRCUITS',
    10 'SHARED_SERVER_SESSIONS',
    11 'LARGE_POOL_SIZE',
    12 'SESSIONS'
    13* )
    NAME VALUE
    sessions 170
    large_pool_size 0
    dispatchers (PROTOCOL=TCP) (SERVICE=orclXDB)
    shared_servers 1
    max_shared_servers
    max_dispatchers
    circuits
    shared_server_sessions
    8 rows selected.
    SQL>
    SQL> select * from v$services;
    SERVICE_ID NAME NAME_HASH NETWORK_NAME
    5 orclXDB 3468872077 orclXDB
    6 orcl 2392458149 orcl
    1 SYS$BACKGROUND 165959219
    2 SYS$USERS 3427055676
    SQL>

    Hi Siva,
    don't you remember Re: Net service name and service ? :-)

  • TS1503 Does anyone know what "other" means in the sync summary bar? I have 850mb using storage space in my iphone and can't understand what that is. I have tried to delete everything, restore to factory settings and change the icloud account. Thanks.

    Does anyone know what "other" means in the sync summary bar? I have 850mb using storage space in my iphone and can't understand what that is. I have tried to delete everything, restore to factory settings and change the icloud account. Thanks.

    Hi there AnthPy,
    You may find the troubleshooting steps in the article below helpful.
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/kb/ts3276
    -Griff W. 

  • I received a second iPad Air as a gift and sold on Ebay.  The person who bought it asked if is a Oem pad.  Not sure what that means.  The model part number is PF004LL/A

    I received a second iPad Air as a gift and sold on Ebay.  The person who bought it asked if is a Oem pad.  Not sure what that means.  The model part number is PF004LL/A.

    You can see the model number in Settings>General>About>Model. The model number has a two-letter code, a number and some more letters. The last part stands for the country/region. The first letter can be "F" (refurbished), "M" (normal retail), or "P" (personalized / engraved). For example MC605B is the model MC605 and B is for the region.
    What country does my device belong to?
    http://www.jbfaq.com/article.asp?id=63
     Cheers, Tom

  • What's the meaning of the error code 1009?

    What's the meaning of the error code 1009?

    See this support document http://support.apple.com/kb/TS3694 if you are doing a restore.
    Another option is you are trying to access an iTunes store that is not supported in your country.

  • HT4759 What ((null)) mean on the top of my Apple Mail?

    Does anybody know what ((null)) mean on the top of my Apple Mail? Has something to do with the outgoing smtp server...but what does it mean? Thanks in advance. Joeri

    1. Try doing a reset(no data will be lost):
    Disconnect the iPhone from any computer. Press and hold both the Home button and the Sleep/wake button simultaneously for about 15 seconds and release when the Apple logo appears. Given your information, I suspect this won't work but try it anyway.
    2. If that doesn't solve the issue, backup the device and restore it as new to isolate the issue to hardware failure.
    In that case, use: http://support.apple.com/kb/HT4137
    NB: set up as a NEW device because a software issue will be in the backup. If the issue persists after restoring as new, you should offer the device for service.
    If you get specific error messages/codes in iTunes when updating/restoring, check this: http://support.apple.com/kb/ts3694 for causes and solutions
    Good luck
    Stijn

  • [EWS][FastTransfer][MS-OXCFXICS] Question about paging in the Fast Transfer Stream after exporting message and the meaning of the config in the previous section of the stream.

    Hi, all.
    First, I want to construct a fast transfer stream by programming not using the export item's stream and to import the stream to the folder by posting import request in EWS.
    So, I export the item by EWS and investigate the exporting stream's struct by reading the [MS-OXCFXICS].pdf. And I can parse each MAPI property, marker, meta-property from the stream.
    I find that the stream is made of many pages, most page's length is 0x7BC0, some are less then 0x7BC0. And in the previous section of the stream, there are some configurations. So the questions are:
    1. What is the paging rule? or What is the principle of the paging? Whether a complete propvalue/marker(ref from [MS-OXCFXICS].pdf) must be contained in a page except some binary type?
    2. Why the page's binary length is 0x7BC0? Or where is the configuation about paging length?
    3. The stream is made of the FXOpcodes and the subbuffer about the FXOpcodes, and I find the mean of the FXOpcodes:
    internal enum FxOpcodes
    None = 0,
    Config = 1,
    TransferBuffer = 2,
    IsInterfaceOk = 3,
    TellPartnerVersion = 4,
    StartMdbEventsImport = 11,
    FinishMdbEventsImport = 12,
    AddMdbEvents = 13,
    SetWatermarks = 14,
    SetReceiveFolder = 15,
    SetPerUser = 0x10,
    SetProps = 0x11
    and in the stream there are 4 part(after I parse the stream):
    A. OpCode:Config, value:0000000001000000
    B. OpCode:IsInterfaceOk, value:010000000703020000000000C00000000000004600240080
    C. OpCode:TellPartnerVersion, value:000F91838417
    D and follows is: OpCode:TransferBuffer, Count:31680
    So 
    a. What is the OpCode:Config value meaning?
    b. Some parts of The OpCode:IsInterfaceOk' value is the IID_IMessage("00020307-0000-0000-C000-000000000046"), What is other parts meaning?
    Thanks in advance for any ideas.

    Hi Haiyang,
    Your questions are not covered by the Open Specification documentation and this is documented in [MS-OXWSBTRF] — v20141018 section “1.3 Overview”.
    The upload and export data stream is an opaque format that only needs to be understood by a server implementation. The client only serves as a repository for the opaque data stream so that it can be uploaded to the server at
    a later time.
    You made good progress in interpreting the buffer using other documents. Why do you need to be able to parse the data? Please describe your project in details and I might submit a suggestion to document the layout of the data stream,
    if your project justifies it. You can send the description directly to me.
    Thanks, Vilmos

  • [EWS][FastTransfer] Question about paging in the Fast Transfer Stream after exporting message and the meaning of the config in the previous section of the stream.

    Hi, all.
    First, I want to construct a fast transfer stream by programming not using the export item's stream and to import the stream to the folder by posting import request in EWS.
    So, I export the item by EWS and investigate the exporting stream's struct by reading the [MS-OXCFXICS].pdf. And I can parse each MAPI property, marker, meta-property from the stream.
    I find that the stream is made of many pages, most page's length is 0x7BC0, some are less then 0x7BC0. And in the previous section of the stream, there are some configurations. So the questions are:
    1. What is the paging rule? or What is the principle of the paging? Whether a complete propvalue/marker(ref from [MS-OXCFXICS].pdf) must be contained in a page except some binary type?
    2. Why the page's binary length is 0x7BC0? Or where is the configuation about paging length?
    3. The stream is made of the FXOpcodes and the subbuffer about the FXOpcodes, and I find the mean of the FXOpcodes:
    internal enum FxOpcodes
    None = 0,
    Config = 1,
    TransferBuffer = 2,
    IsInterfaceOk = 3,
    TellPartnerVersion = 4,
    StartMdbEventsImport = 11,
    FinishMdbEventsImport = 12,
    AddMdbEvents = 13,
    SetWatermarks = 14,
    SetReceiveFolder = 15,
    SetPerUser = 0x10,
    SetProps = 0x11
    and in the stream there are 4 part(after I parse the stream):
    A. OpCode:Config, value:0000000001000000
    B. OpCode:IsInterfaceOk, value:010000000703020000000000C00000000000004600240080
    C. OpCode:TellPartnerVersion, value:000F91838417
    D and follows is: OpCode:TransferBuffer, Count:31680
    So 
    a. What is the OpCode:Config value meaning?
    b. Some parts of The OpCode:IsInterfaceOk' value is the IID_IMessage("00020307-0000-0000-C000-000000000046"), What is other parts meaning?
    Thanks in advance for any ideas.

    OK. Thank you.
    Today I build a stream with a paging rule as below:
    1. Keep each page's byte length is 31680.
    2. Make sure a complete property value in a page except binary type property whose value length is larger
    than 31680.
    And it can work very well when import the stream to the folder by EWS.

  • How to get the meaning of the regular expression?

    Hello All,
    I want to know how to get the meaning of the regular expression?
    The requirement is i need to get the regular expression for some of the attributes and if the value is not matching with that regular expression then i need to give the popup saying the limitation of the attribute. but i need to give the pop up with the user understanding format.
    Like "please give a to z or 1 to 9" like that.
    So is there any way Java will help me to get the meaning of the regular expression?
    Thank You!
    Arun S

    I'm not aware of any such tool or library.
    Also, it would be a terrible "explanation", because regular expressions (similar to other programming languages) have their own "style" of defining what to enter and that usually doesn't translate well into natural language.
    For example the regex "[a-z][a-z0-9]*\s+[a-z0-9]+" could be translated as "a to z, followed by zero or more characters from a to z or 0 to 9 followed by any amount of whitespace followed by one or more characters from a to z or 0 to 9".
    Or you could simply say "Please enter two alphanumeric words, the first one must not start with a number".
    My suggestion: store/configure the human-readable description together with the regex. Don't try to automate it.

  • IOS 7 doesn't work on iPod touch 4g, so does the mean its the end for this device? Or are they going to make updates specially for lower devices an apps that are compatible ??

    iOS 7 doesn't work on iPod touch 4g, so does the mean its the end for this device? Or are they going to make updates specially for lower devices an apps that are compatible ??

    Which apps remain compatible will be up to the individual developers who sell those apps. There will be no further iOS updates, but those aren't really necessary to continue to use and enjoy your device. I still have an iPad 1 running on iOS 5, and it is fully functional.
    The App Store has an app called VintApps 3.1.1 that is specifically geared toward iOS 3.1, however, you would probably be able to run most of those apps on your iPod, and considering that there will be a rather large market for iOS 6 apps users, it is not likely that you will see a significant reduction in choices any time soon.
    It is not the end for the device in any sense except that it is at it's ultimate iOS level. And again, I have an iPad that is at it's ultimate iOS level (iOS 5), and I get new apps all the time that work for both my iPad and my iPhone that runs iOS 6.1.1
    No need to fret....
    Cheers,
    GB

  • Where can I find a list of the meaning of the symbols that can appear in the headline at the top of the screen on the ipad and iphone?

    where can I find a list of the meaning of the symbols that can appear in the headline at the top of the screen on the ipad and iphone?

    http://support.apple.com/kb/HT1558
    http://support.apple.com/kb/TA38663
    http://support.apple.com/kb/HT4982
    They are also listed in the built-in User Guide accessible directly on the iPhone in Safari.
    Find the "iPhone User Guide" bookmark, then go to iPhone at a Glance > Status icons

  • Getting the meaning of the article

    i am trying to parse news articles in a way that I can tokenize the article first and then remove the most comon words in english like "a", "an" and "the",which usually have no relation with the meaning of the article
    then i will be counting the total number of words of the article and the total number of each word, i.e. reptitions of each word in the article to get the frequency of occurence of each word
    wat i m assuming is that the word with the highest frequency has a very high relation with the meaning of the article
    now toextract the code I am using the URL class
    now can sumbody help me as to how i shud go abt implementing it?

    I'm not sure why you are using the URL class, unless you mean that the articles are on the internet, and you are retrieving them from there.
    I'm not about to give you a complete solution, but look at the java.util.StringTokenizer class to handle splitting the text into words. You could then have a java.util.Set of words that need to be ignored (I suggest using HashSet).
    Looking at the Java API documentation is always a good start, but since the API is so big, it's always good to get a nudge in the right direction.
    RObin

  • Hi! Anybody knows the meaning of the "ornament" feature in Logic software?

    Hi! Anybody knows the meaning of the "ornament" feature in Logic software?

    They're a bit odd....
    An ornament is just a visual frame in the Environment, that does nothing except, well...be there.
    I've seen some people use them in complex Environment setups to act as a border for a group of buttons for example, so it acts like one of those little plastic boxes that you puts knobs and switches onto, to make them look better.
    That's about it.

Maybe you are looking for

  • Error while creating billing document using VF04 transaction

    Hi All, User is trying to create billing document using VF04 with ference to delivery number. When pressing save in invoice creation system SAP gives invoice document number (No accouting document generated). but no documents are actually created. Wh

  • Download Load Option for Adobe Photoshop Elements 11.0 Akamai or Alternate with MS 7

    Which download option do I use if I have 64 bit Micro Soft 7.0 for Adobe Photoshop Elements 11.0: Akamai or Alternate?

  • Last 36 months in Dashboard Prompt

    Hi Experts, Hi have requirement to show last 36 months in dashboard prompt. Please help me to achieve this. Thanks in advance

  • Error while installing oracle apps 11.5.10

    Hi all, I have got errors while installing oracle apps 11.5.10. I have configured all the system parameters. Unable ti complete instance configuration RW-50010 error script has returned an error 1 RW-50004 error code received when running external pr

  • How to archive incompleted PO

    Hi All I want to archive one incompleted PO.(delivery costs not cleared and not possiable to post delivery costs through MM as user cleared them manually form FI) My i know how i can delete the po even delivery costs not cleared Thanks Regards Manju