I want to know about Structs in Java and it's use

Hello friends,
I am a Software Engineer working in India.Recently I heared about an intersting topic Structs in java(For connectivity in sql structured type).If anyone knows details about it ,plz help me.
Thejus

I think that he was talking about C-like structures (Struct), rather than Struts, the framework.
Anyway, the way to mimic a C-Struct in Java is to make a class with all public members and no methods. There is no equivalent in Java of a Union, however, so if you have to deal with Structs that have Unions within them, you're out of luck. Also, I'm not sure how the sizes will map from a C Struct to a Java class. You'll probably have a mismatch.
Paul

Similar Messages

  • Everything you wanted to know about books... and then some.

    Hi, all:
    With all the questions and speculation about how books are printed, what color profile to use, etc. I contacted Apple and asked for information that I could pass on. Here's the reply I received from Apple:
    Thank you for contacting the Apple Print Products Customer Service.
    I understand that you would like to know the printing process that is used and the color mode the files should be in, so you can better advise users in the iPhoto forum.
    iPhoto version 4 or later, allows you to import and print files through the Apple Print Product service as RGB, grayscale, or CMYK color space. JPEG files with RGB color space are recommended for best results.
    While iPhoto 2 can import files of various formats, including RGB color, grayscale, and CMYK, this version requires JPEG files with RGB color space when printing photos and books.
    For more information regarding iPhoto 2, please visit the following article:
    iPhoto: Color, Black and White Prints Appear Garbled or Distorted
    For more information regarding iPhoto 5, please visit the following article:
    http://docs.info.apple.com/article.html?artnum=165501
    Here are some of the technical specifications for the books, cards, and calendars. I hope this gives you an idea about their quality and form.
    BOOKS
    All iPhoto books are printed using acid-free paper for long-lasting image quality. The photos are printed at a high resolution (300DPI if you use iPhoto 6). There is no external modification--such as sharpening or contrast adjustment--of the photos; what you see in the application is what is printed in the book.
    Hardcovers Books
    The cover is hard-bound and covered in linen. You select the linen color during the book-ordering process. The hardcover books have a solid, stiff binding that is glued and crimped. The internal pages, measuring 8.5 x 11 inches, are printed on McCoy 100# Text Gloss paper stock.
    Softcover Books
    The softcover books come in three sizes:
    - Large 8.5 x 11 inches
    - Medium 6 x 8 inches
    - Small 2.6 x 3.5 inches
    All of the softcover books have internal pages that are printed on McCoy 100# Text Gloss paper stock. The large softcover book has a white cover (Kromekoteplus Folding Cover, 16 point) with a cutout on the front that reveals the cover-page photo in the book. The covers for the medium and small softcover books have the cover image and title printed directly on the cover. All of the softcover books have a glued binding and feature a thick cover of McCoy 100# Cover Gloss paper stock.
    CARDS
    All cards are printed on McCoy 120# Silk Cover paper stock. The postcards measure 4 x 6 inches, and the greeting cards measure 5 x 7inches.
    CALENDARS
    All calendars measure 8 x 10 inches and are printed on McCoy 100# Silk Cover paper stock.
    To ensure the best print quality, we have chosen to use Kodak NexPress technology. The press uses a dry toner, which is fused to the surface of the paper. Please see NexPress' site for more information:
    KODAK NEXPRESS 2500 Digital Production Color Press
    I hope you find this information helpful in answering questions on the iPhoto forum. If you have any other questions, please reply to this email and we will help you further.
    Hope this will answer some of your questions more clearly.
    Do you Twango?
    G5 Dual Core 2GHz, 2G RAM, 250G HD; G4 Dual 1Ghz, 1.5G RAM, 80G HD, QT 7.1.3,   Mac OS X (10.4.8)   22 LCD, 250G/200G/160G FW HDs, Canon: SD700IS/i850/LIDE 50, Epson R200, 30G iPod

    Thanks, Toad. That was very informative. I don't really know anything about McCoy 100# Text Gloss paper stock, but I seem to have a small problem with it (or maybe the gloss/varnish on top, if there is any). I imagine I'm not the only one. My hardcover photo books have always come out beautiful. At home in Southern California, I can leave them on the coffee table without a problem usually. However, if I travel to humid areas of the East Coast with a book, or if it rains for several days here, the book paper will start to develop a wavy, wide corrugation around the edges that is very obvious when the book is viewed in profile. This does not seem to completely go away when the humidity goes back down. Other, "store bought" books around the house don't seem to do this. Have you seem or heard of this before? Thanks.
    --Scott

  • Want to know about the AirPort Express and AirTunes

    I have been contemplating purchasing an AirPort Express to stream music from my bedroom into the entertainment room in a 4 bedroom apartment. I have a wireless G D-link router which could be better but its not going to get better any time soon. As far as AirTunes goes, i have been researching it but still have questions on how it works exactly. Also, is it possible to play music through the speakers that are currently hooked up to my computer and through the stero in my living room simulaneously with this device.

    So i have the airport express and i want to use internet at the same time as streaming my music to my stereo. I also have a router that i normally use for internet. My problem is, how do i use them at the same time because the airport run's or the router runs not both. I tried running a ethernet cord from the router to the airport express, and i can now recieve internet and stream music, but i want to be able to use my router instead of the express. also if i can't and have to go through the express, can i password protect the internet connection because i have no idea how to use settings for this device?

  • Want to know about java importer

    hi,
    i m working on oracle forms 10g. i want to know about java importer utitlity and using it.
    plz provide me ant documentation about it , if i have it with example would be easy to understand
    thanks

    I think u r lookinghttp://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal - in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

  • I want to know about time machine if i can use the hard drive that i use for time machine back up as a normal hard drive too or if it's only for time machine

    I want to know about time machine if i can use the hard drive that i use for time machine back up as a normal hard drive too or if it's only for time machine
    and if it yes i want to know if i have 1TB hard disk to use the 500gb for time machine and the other 500gb for normal use

    thank you very much because i am considering to buy the porsche design hard disk 1TB and i want to have it for normal use and for time machine is a pitty to give 1TB for back up only again thanks and i know seperate the back and the working jobs are better but the i have to have 2 hardisks and i want only 1

  • I want to know about imessages and how it works !! how to register a number with imessages?? I saved a number in contacts but when I try to send a message it say "! not delivered" in red mark.How can I fix this problem??

    I want to know about imessages and how it works !! how to register a number with imessages?? I saved a number in contacts but when I try to send a message it says "! not delivered" in red mark.How can I fix this problem??

    Perhaps something in this support article will help:
    http://support.apple.com/kb/TS2755
    Regards.

  • HT1349 I want to know about the service of my computer with a serial number CO2GG9LCDJWT

    I want to know about the service of my computer with a serial number CO2GG9LCDJWT.   As I recall, I bought the service for three years...

    Are you perhaps trying to reach Apple Support?
    We are all users here, just like you.
    Contact Apple Support here:
    http://www.apple.com/support/contact/

  • Hi Gurus, I want to know about SAP Insurance Certification course

    Hi Gurus,
    I want to know about SAP Insurance Certification course.  Can anyone guide me how to proceed.
    Regards
    Raghu

    Hi Raghu,
    Check this link.... https://training.sap.com/in/en/curriculum/sfi_ins-sap-for-insurance-g-en
    This will give high level view of the available certifications in this space.
    Regards,
    Sanijan

  • Want to know about User exit in detail

    Hi ALL,
    I M NEW TO sap ABAP. I WANT TO KNOW ABOUT USER EXIT IN DETAIL. PLS DO THE NEEDFUL . If there are eny document regarding this pls mail to this id [email protected]
    thanks and regards
    Nandha

    Hi Nanda,
    Welcome to SDN,
    Userxits allow us to add our own functionality to SAP standard program
    without modifying it . These are implemented in the form of subroutines and hence are also known as FORM EXITs. The userexits are generally collected in includes and attached to the standard program by the SAP.
    User exits are used when the flow for a particular transaction has to take some other route other then the normal flow. this can be the case when you have to attach some additional functionality lik u need a customised screen, or new functionality (using a functional module). based on these things user exits can be classified as screen exits, function module exits, field exits( not used anymore). hope this gives some help on userexits.
    The naming standard of function modules for functionmodule exits is:
    EXIT_<program name><3 digit suffix>
    The call to a functionmodule exit is implemented as:
    CALL CUSTOMER.-FUNCTION <3 digit suffix>
    To find a Exit.
    Goto Transaction -- Find The Package
    SMOD >f4>Use the Package here to Find the Exits In the Package.
    Else if you Want to search by Application Area wise ,
    There is one more tab to find the Exits in the Respective Application Area.
    Implementing the Exit-- CMOD Create ProjectsAssgn your Component .
    Now Run ur Transaction to Check if it Triggers.
    Thats it..
    For More information on Exits, check these links
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/ab038.htm
    http://www.planetsap.com/userexit_main_page.htm
    http://www.sap-basis-abap.com/sapab013.htm
    http://sap.ittoolbox.com/documents/popular-q-and-a/user-exits-for-the-transaction-code-migo-3283
    These links will help you to learn more on user exits.
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
    http://www.planetsap.com/userexit_main_page.htm
    http://www.allsaplinks.com/user_exit.html
    www.sap-img.com/abap/what-is-user-exits.htm
    Also please check these threads for more details about user exits.
    Re: Screen exit
    user exit and customer exit
    user exit
    1. Document on UserExits in FI/CO
    http://www.ficoexpertonline.com/downloads/User%20ExitsWPedit.doc
    2. Finding User Exits...
    http://sap.ionelburlacu.ro/abap/sap2/Other_Useful_Tips.html#Finding_User_Exits
    3. List of all User Exits...
    http://www.planetsap.com/userexit_main_page.htm

  • Want to know about SAP course and SAP modules

      I am Sandeep, done BBM and have 3 years experience as Medical Representative(Pharma sales), and i'm perusing MBA in Sikkim Manipal University Distance Education, i came to know that SAP course has lot of scope in major industries, so that want to know about SAP course and SAP modules available and which module is suitable for me and details about the cost, duration of course please guide me
    Message was edited by: Colleen Lee - moving from Careers space to Training and Education.Also removing the bold text formating

    Ashok,
    Hi! Excellent that you are take the next steps in your education and applying them to work experiences.
    The best approach in taking SAP-related courses is to contact the university and confirm their approach. View SAP UA member schools here - http://uaaroundtheworld.informatik.tu-muenchen.de/overview(bD1lbiZjPTEwMQ==)/start.htm
    ...and assess the ones in the UK which does include Brunel.
    Ask if they provide SAP-related curricula (or supplements) and hands on SAP software in this course or others that you can take in your program.
    Best regards,
    Richard

  • I want to know about two year contract

    hai i am sudharsan i am want to know about the two year contract of iphone 5s @99$ at uk but i bought that but i have to go to india for a month .just expalin about that for me

    Ask the carrier. The contract is with the cellular carrier, not Apple.

  • I want to know about ehs module and flow

    hi,
    This is kishore. I have been assigned to ehs module. i want to know about that how it helps industries and flow of the module.
    K. Kishore

    hi kishore
       Please go thru this link
      http://help.sap.com/printdocu/core/Print46c/en/data/pdf/EHSSAF/CAGTFADM-EHS.pdf
    reward points if it is helpful.
    Regards
    Alfred

  • I want to know about enterprise soa and sap netweaver

    Hi all,
                 i am ABAP'r , i want to know about Enterprise SOA And SAP Netweaver ,
    please send some documents about that .
    Thanks&regards.
    Naveen Kumar

    ESOA mean Enterprise Service Oriented Architecture
    SOA mean an Architecture approach to define IT solution for business problems using loose couples SERVICES
    Service mean: definition of a business function in terms of the service message, protocol and nature
    Nature mean Service direction, Service mode and service contract
    WEB SERVICE, XML, XSD, SOAP : Mean a technology following SOA architecture approach to IT enablement of a business need.
    WEB service compose business functions, location of services, messages of service offering and protocol into a single definition to define service contract.
    XML mean a common language to represent message
    XSD mean a common way to define message structure
    SOAP mean a procol which carry messages of services between service consumer and service provider.
    Finally : Web service is not SOA. Web service is a technology implementing SOA architectural approach to IT enablement of a business NEED.
    Note: If you are happy with answer please make sure point is rewarded.
    Thanks

  • I want  to know about smartforms

    hi experts tell me
    i want to know about smartforms
    anybody have material pls send me
    thanks in advance

    SAP Smartforms can be used for creating and maintaining forms for mass printing in SAP Systems. The output medium for Smartforms support printer, fax, e-mail, or the Internet (by using the generated XML output).
    According to SAP, you need neither have any programming knowledge nor use a Script language to adapt standard forms. However, basic ABAP programming skills are required only in special cases (for example, to call a function module you created or for complex and extensive conditions).
    1. Create a new smartforms
          Transaction code SMARTFORMS
          Create new smartforms call ZSMART
    2. Define looping process for internal table
    Pages and windows
          First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
          Here, you can specify your title and page numbering
          &SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
          Main windows -> TABLE -> DATA
          In the Loop section, tick Internal table and fill in
          ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
    3. Define table in smartforms
    Global settings :
    Form interface
    Variable name    Type assignment   Reference type
    ITAB1               TYPE                  Table Structure
    Global definitions
    Variable name    Type assignment   Reference type
    ITAB2               TYPE                  Table Structure
    4. To display the data in the form
    Make used of the Table Painter and declare the Line Type in Tabstrips Table
    e.g.  HD_GEN for printing header details,
            IT_GEN  for printing data details.
    You have to specify the Line Type in your Text elements in the Tabstrips Output options.
    Tick the New Line and specify the Line Type for outputting the data.
    Declare your output fields in Text elements
    Tabstrips - Output Options
    For different fonts use this Style : IDWTCERTSTYLE
    For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
    5. Calling SMARTFORMS from your ABAP program
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    Written by :  SAP Hints and Tips on Configuration and ABAP/4 Programming
                        http://sapr3.tripod.com
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
            INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
       MOVE-CORRESPONDING MKPF TO INT_MKPF.
       APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    call function 'SSF_FUNCTION_MODULE_NAME'
      exporting
        formname                 = 'ZSMARTFORM'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
      IMPORTING
        FM_NAME                  = FM_NAME
      EXCEPTIONS
        NO_FORM                  = 1
        NO_FUNCTION_MODULE       = 2
        OTHERS                   = 3.
    if sy-subrc <> 0.
       WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function FM_NAME
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
      TABLES
        GS_MKPF                    = INT_MKPF
      EXCEPTIONS
        FORMATTING_ERROR           = 1
        INTERNAL_ERROR             = 2
        SEND_ERROR                 = 3
        USER_CANCELED              = 4
        OTHERS                     = 5.
    if sy-subrc <> 0.
       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    also refer
    http://www.erpgenie.com/abap/smartforms_detail.htm
    http://www.sap-basis-abap.com/abphy.htm
    <b>http://sap.ionelburlacu.ro/sap0/sapsf001.htm
    http://www.ionutz.ro/sap/sapabap01.htm[very imp links]</b>
    http://www.sap-basis-abap.com/sapsf001.htm
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • I want to know about change pointers generally we have C,R,N change pointers

    I want to know about change pointers generally we have C,R,N change pointers
    where they are configured

    IHi Virender,
    I don´t think you can create new methods.
    There are 4 methods:
    N – New order created [New]
    C – Order changed [Changed]
    D – Order deleted or partially deleted [Delete]
    R – Complete order deleted [Removed]
    Please read the following document about Change Pointer:
    Processing Change Pointers - Integration via APO Core Interface (CIF) - SAP Library
    Read SAP note about CIF and Change Pointer administration.
    563806
    - FAQ: APO CIF
    Kind Regards,
    Mariano

Maybe you are looking for

  • Photos upload too small on the internet!!!!!

    when i upload photos from iphoto onto myspace/facebook the photos upload smaller then they are in iphoto, is there a way i can fix this??

  • Where is the scheduler component

    This link on Sun's website shows a composite Scheduler component http://developers.sun.com/prodtech/javatools/jscreator/reference/fi/2/components.html as a new component added in Sun Java Studiop Creator 2 but I can't find it anywhere. Can I download

  • Need to stop group chat from jumping down to new p...

    I have people that need to be able to scroll up and read back in Chat ..  but they lose their place every time when it jumps back down with a new post. Anything we can do? This is in a group chat BTW ...

  • I can  not sign into i cloud

    Trying to sign in I cloud to see if my I phone and iPad is backed up

  • Aging report on top of Posting Date

    Dear All, We have one standard report Days Overdue Analysis (0FIAR_C03_Q005). The values for ranges (0-30,31-60 and all ) are getting calculating based on Net Due date. But I want to calculate that based on posting date. Can anyone plz tell how we ca