Newbie - What is OO?

Hi there. I am doing programming using Java, thanks for some help and hope to get some more!
I am in semester 2 now at uni, and having a panic attack - I may fail :(
The thing is, I love programming, done it for a long time, self taught and taught by some people even at school etc...
But, I need to know, can't find it anywhere - What is Object Orientated programming in Java? (OO)?????
What does it mean? What does it do and what are the benifits?
Thanks a lot for any replies!

You seemed to have missed the part about ojbects having state and behavior. That addresses your ideas of variables and interaction. OO is just a way of looking at problems that decomposes them into objects and interactions among/responsibilities of objects, rather than decomposing problems into tasks, as functional programming does.
Google for OO and I am sure you'll find more resources than you know what to do with.
Good luck
Lee

Similar Messages

  • Newbie - what do I need

    im a student and am relatively new to java, I am developing a ticket point of sale system (using Jbuilder).
    What I what to know is what do I need to run the program(ticket) on a computer other than my own (jdk tec not sure?).
    Also is they a way to make java programs into executables to run when double clicked in windows?

    I am a newbie, trying to learn and create a point of sale system.
    I want to do programming in java to communicate with bar code scanner, cash register, and pos printer as well as a database.
    Although I am good at J2EE and java, but I am new to Java POS API. I have been to http://www.javapos.com however I have not been able to find any tutorial etc.
    May I ask you, if you would like to collaborate in some respect. If possible may you please advise me some online resource etc. Any tip on where and how to start would be very much appreciated.
    Thanks.
    Ahmad
    E Mail: [email protected]
    Tel: 816 - 668 - 8386

  • Newbie, what to with the project after it's finished?

    total newbie here... I just finished my first DVD using FCE. Once you're done, what do you do with the project file and all the associated files?
    Is there a way to have everything archived into one folder (i.e., like InDesign's "Pre Flight" and "Package" features)?
    What happens if my source files are in different places on my computer, and after I archive it, I open it? Won't the mapping to the files be off, FCE can't locate them?
    PowerMac G5 Dual 2GHz   Mac OS X (10.3.9)  

    My back-up methods for FCE projects:
    1) I blow up all my Capture Scratch clips. I save the original DV footage, and since I am careful about my reel numbers, I can re-capture it later
    2) I copy all my other media: music, Photoshop files, LT projs, etc onto a DVD.
    3) On the DVD I also store my FCE project file and my iDVD project file if I have one. Also include any drop zone movies I may have made .. sometimes this eats up a couple DVDs
    Once I have all this, I can easily re-create the projects through Capture Project in FCE or by loading up the iDVD project
    I also record the Timeline of the FCE project to DV tape, to make copies, etc
    Also nice to save a Disk Image of your iDVD project, for later copies

  • Newbie : what is .fpt file extension for adobe air ?

    Hi all the master,
    Hereby i have attached the printscreen of what i got from my client recently.
    I have already install the .air file, and it prompts to open the .fpt files. So i click on the fpt file. It loads halfway, and automatic close the whole application.
    As im a super newbie to AIR, may i know what is .fpt file extention to air ? and what kind of editor i must use to edit the content in the .fpt ?
    Hope to hear from all the master soon
    thanks
    C.K

    This looks VERY similar to a project I created for a client!
    The .fpt file, as Joe suggests, a custom file type created for the use by the Air app. It's probably just a re-labeled zip file to be honest! Probably contains the slides of the presentation as a guess??
    You shouldn't need to worry about the .fpt files. You should open them from within the Air app and not by opening them outside of the app - the OS might not recognise them unless the Air app has registered the .fpt extension upon it's own installation.
    Hope that helps.
    Dave.

  • Newbie: What's it called?

    I'm a complete newbie but trying to get up to speed. This question has
    me baffled because I don't know what to call it to search online and
    in docs.
    Say I have a pointer slide and a dial. I want to be able to adjust
    either one and have the other update as well.
    I see grouped controls like this in sample VIs but how do I make my
    own - or just what are they called?
    Thank you.

    If you place an event structure inside a while loop (both in the structures palette), you can react on value change on either of them and update the value of the other.
    Like the attached VI...
    greets, Dave
    Message Edited by daveTW on 02-06-2008 06:55 PM
    Greets, Dave
    Attachments:
    Update Slider-Dial_FP.png ‏12 KB
    Update Slider-Dial.vi ‏14 KB

  • Newbie: what is the equivalent of passing request parameters?

    Hi-
    I am new to JSF. I have read many tutorials and articles. I still don't get one concept about passing parameters. Note: I don't want to store stuff in the session unless I have to.
    Let's say I have a page with a list of users. I layout the page with a panelGrid. Each row of the table has the first and last name of the user. If a user clicks on the name of a user on the user list, it should go to the user profile page. The backing bean for the user list page will be the UserListBean. It has a method called getUsers() that returns a List of User objects.
    For the View User page, I have a ViewUserBean. The ViewUserBean retrieve the entire profile for that user.
    How do I pass the user ID to the ViewUserBean? In struts, I would pass it as a request parameter (I would manually write the link URL with the userID). I know I can use the request like that in JSF, but that seems ugly. I looked at the code of the J2EE bookstore tutorial and it does a funky thing with all sorts of data stored in the session.
    What is the best way to request a page and "pass in" a userID?
    Thanks for your help.
    Adam

    I have a case on my current project very similar to your case. What you want, very simply, is an easy way to allow faces to handle URLs like http://www.domain.com/showUserDetails?userId=50
    The natural trouble is that when loading the page, there is no action to use to prefetch the User object based on the Request Parameters in JSF.
    All the solutions above either rely on the session or they are exceedingly complex. This case is actually very easy to do and is very straight forward using Managed Properties and a Request Scope bean...
    Here is the rather straight forward solution I used...
    First, make a "ShowUserDetailsBean" which represents the "logic" for this page.
    public class ShowUserDetailsBean
        /** Will point to the actual user service after dependency injection*/
        private UserService userService;
        /** Will hold the userId from the HTTP Request Parameters*/
        private String userId;
        /** Will hold a lazy loaded copy of the User object matching userId*/
        private User user;
        public void setUserService(UserService userService) {
            this.userService = userService;  //dependecy injection
        public void setUserId(String userId) {
           this.userId = userId;  //dependency injection
        /** Lazy loads the User object matching the UserId */
        public User getUser() {
            //Trap the case where the URL has no userId
            if (userId == null) return null;
            if (user == null) {
                user = userService.getUser(userId);  //Lazy Load
            return user;
    }Next, configure the managed properties in faces-config.xml
    <faces-config xmlns="http://java.sun.com/JSF/Configuration">
      <managed-bean>
        <managed-bean-name>userService</managed-bean-name>
        <managed-bean-class>foo.UserServiceImpl</managed-bean-class>
        <managed-bean-scope>application</managed-bean-scope>
      </managed-bean>
      <managed-bean>
        <managed-bean-name>showUserDetails</managed-bean-name>
        <managed-bean-class>foo.ShowUserDetailsBean</managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
        <managed-property>
          <property-name>userService</property-name>
          <property-class>foo.UserService</property-class>
          <value>#{userService}</value>
        </managed-property>
        <managed-property>
          <property-name>userId</property-name>
          <property-class>java.lang.String</property-class>
          <value>#{param.userId}</value>
        </managed-property>
      </managed-bean>Finally, you just make your webpage as you normally would...
    <h:outputText value="#{showUserDetails.user.userId}"/>
    <h:outputText value="#{showUserDetails.user.firstName}"/>
    <h:outputText value="#{showUserDetails.user.lastName}"/>
    Now you're ready to test, so you visit the page
    http://www.domain.com/showUserDetails?userId=50
    And your user details with userId=50 appears!
    It's just that simple!
    Regards,
    Doug
    Caveat: I haven't added any sample logic to handle cases where you visit:
    http://www.domain.com/showUserDetails
    without specifying a userId. I suggest you add some basic logic to your page to handle this case more gracefully.

  • Java newbie (what's could be wrong with this program?)

    First things first, I just started programming with JAVA recently so please forgive me if it seems stupid. Since I am so relatively new to the language, in order to get a feel for it I started running some simple scripts. I can compile and execute most of them without any problem. However when I tried to compile this one I get a couple of errors I am not familiar with. So my question is what could be wrong and what needs to be changed in order to get it to work? or if the syntax is correct could there be some other problem?
    On a side note, I am coming more from a C and C++ background so if anyone can recommend a way to start learning the JAVA language from a prespective in C that would be highly appreciated.
    System Environment: I am using j2sdk1.4.2 on a Windows 2000 machine running SP3.
    If anything else needs further clarification please let me know.
    |------------------------- The Code -----------------------------------|
    package RockPaperScissors;
    import java.util.HashMap;
    public class RockPaperScissors {
    String[] weapons = {"Rock", "Paper", "Scissors"};
    EasyIn easy = new EasyIn();
    HashMap winners = new HashMap();
    String playerWeapon;
    String cpuWeapon;
    int cpuScore = 0;
    int playerScore = 0;
    public static void main(String[] args) {
    RockPaperScissors rps = new RockPaperScissors();
    boolean quit = false;
    while (quit == false) {
    rps.playerWeapon = rps.getPlayerWeapon();
    rps.cpuWeapon = rps.getCpuWeapon();
    System.out.println("\nYou chose: " + rps.playerWeapon);
    System.out.println("The computer chose: " + rps.cpuWeapon + "\n");
    rps.getWinner(rps.cpuWeapon, rps.playerWeapon);
    if (rps.playAgain() == false) {
    quit = true;
    System.out.println("Bye!");
    public RockPaperScissors() {
    String rock = "Rock";
    String paper = "Paper";
    String scissors = "Scissors";
    winners.put(rock, scissors);
    winners.put(scissors, paper);
    winners.put(paper, rock);
    System.out.println("\n\t\tWelcome to Rock-Paper-Scissors!\n");
    public String getPlayerWeapon() {
    int choice = 6;
    String weapon = null;
    System.out.println("\nPlease Choose your Weapon: \n");
    System.out.println("1. Rock \n2. Paper \n3. Scissors \n\n0. Quit");
    try {
    choice = easy.readInt();
    } catch (Exception e) {
    errorMsg();
    return getPlayerWeapon();
    if (choice == 0) {
    System.out.println("Quitting...");
    System.exit(0);
    } else {
    try {
    weapon = weapons[(choice - 1)];
    } catch (IndexOutOfBoundsException e) {
    errorMsg();
    return getPlayerWeapon();
    return weapon;
    public void errorMsg() {
    System.out.println("\nInvalid Entry.");
    System.out.println("Please Select Again...\n\n");
    public String getCpuWeapon() {
    int rounded = -1;
    while (rounded < 0 || rounded > 2) {
    double randomNum = Math.random();
    rounded = Math.round(3 * (float)(randomNum));
    return weapons[rounded];
    public void getWinner(String cpuWeapon, String playerWeapon) {
    if (cpuWeapon == playerWeapon) {
    System.out.println("Tie!\n");
    } else if (winners.get(cpuWeapon) == playerWeapon) {
    System.out.println("Computer Wins!\n");
    cpuScore++;
    } else if (winners.get(playerWeapon) == cpuWeapon) {
    System.out.println("You Win!\n");
    playerScore++;
    public boolean playAgain() {
    printScore();
    System.out.print("\nPlay Again (y/n)? ");
    char answer = easy.readChar();
    while (true) {
    if (Character.toUpperCase(answer) == 'Y') {
    return true;
    } else if (Character.toUpperCase(answer) == 'N') {
    return false;
    } else {
    errorMsg();
    return playAgain();
    public void printScore() {
    System.out.println("Current Score:");
    System.out.println("Player: " + playerScore);
    System.out.println("Computer: " + cpuScore);
    |------------------------- Compiler Output ----------------------------|
    C:\ide-xxxname\sampledir\RockPaperScissors>javac RockPaperScissors.java
    RockPaperScissors.java:8: cannot resolve symbol
    symbol : class EasyIn
    location: class RockPaperScissors
    EasyIn easy = new EasyIn();
    ^
    RockPaperScissors.java:8: cannot resolve symbol
    symbol : class EasyIn
    location: class RockPaperScissors
    EasyIn easy = new EasyIn();
    ^
    2 errors

    limeybrit9,
    This importing certainly seems to be the problem, I'm still not used to how compilation works within the JAVA language, I'll play around with it a bit and see if I can get it to work correctly.
    bschauwe,
    The C++ approach has certainly clarified some of the points. I guess I will be sticking to that.
    bsampieri,
    You were correct on the class looking rather generic, but as I mentioned before I was just sort of tinkering to see if I could get it to work.
    Thanks to all for the help, very much appreciated.

  • IPod Touch Newbie: What is the purpose of the iTunes app on my iPod Touch?

    What is the purpose of the iTunes app on my iPod Touch?
    All it does is connect to the iTunes store if I'm near a WiFi connection. It appears to be useful only for impulse purchasing of media. So why is it not named "iTunes Store"? It appears to have no other function.
    Also, to listen to my iTunes music on iPod Touch I have to click on the Music button...not the iTunes app. What logic is that?
    Also, iTunes has synced a movie for me, but I have no clue how to view it on the iPod Touch. It doesn't appear in iTunes on the iPod Touch, and there is no "Movie" button anywhere. What am I missing? I can't find it anywhere.

    For purchasing music, downloading podcasts,etc.
    http://manuals.info.apple.com/enUS/iPod_touch_3.1_UserGuide.pdf

  • Newbie: What program to use for just plain ASCII text?

    I'm new to Mac and wanting to create a plain ASCII text document (not RTF or else).
    In Windows I would use NotePad. What do I use on Mac? I tried "TextEdit" but it didn;t allow me to same it as "plain text" or similar. I want absolutely no formattings in my document.
    Thanks.

    You can use TextEdit. Just select the Make Plain Text option in the Format menu.
    charlie

  • Newbie: What is Oracle Version of T-SQL stored procedure?

    How do I achieve this in PS/SQL? I find that Oracle is worlds more difficult than SQL Server/T-SQL? I simply want to design a package and package body that returns a record for each cash register in a store. containing Week-to-date sales, year-to-date for lLast Year, and YTDSales for CurrentYear. These last 2 values should be returned as a table from a function: Here is the pseudocode'ish: I think I will be able to use this as a template for most of the PL/SQL I have to design:
    CREATE PROCEDURE spGetWTDandYTDSales
    (@drawerid as integer,
         @startDate as timestamp,
         @endDate as timestamp,
    @recordsetOfAmounts Values output)
    BEGIN
    select fncWTDSales ((@drawerid, @startdate, @enddate) as wtdAmount,           
    fncYTDSales(@drawerid, @startdate, @enddate) as YTDAmount1
    fncYTDSalesLY(fncYTDSales(@drawerid, @startdate, @enddate) as YTDAmount2
    return @recordsetOfAmounts
    END ;
    CREATE FUNCTION fncWTDSales(@drawerid, @startdate, @enddate)
    as money
    BEGIN select amount from CashDrawer where drawerid = @drawerid and start_date between @startDate and @enddate
    return amount;
    END
    CREATE FUNCTION fncYTDSales(@drawerid, @startdate, @enddate)
    as table
    BEGIN
    select ytdsales as ytdsales, ytdSalesLY as ytdSalesLY
    from CashHistory
    where drawerid = @drawerid
    from CashDrawer
    where drawerid = @drawerid and start_date between @startDate and @end_date
    return ytdsales, ytdSalesLY;
    END
    Clear as mud? Also since several procedures and functions within the package will use the drawerid, startdate and enddate variables, how can i make these global to the package (and/or should I) so i don't have to define as parameters to procedures or functions.
    Thanks
    Rod

    You guys are great. Justin's was the clearest answer. How do I givepoints? Here is some background and hopefully my last question:
    How do I get rid of the function since a bad idea? (I HOPE I didn't leave anything out)
    Background
    I came into a job where there was a reporting software package going against an oracle database of generic fields. The company has a CSV table of how these fields are mapped. The reports are written in VB6 code with DLLs and the like. The reports are written like: For each of the 19 fields on report, make a database call via a Simple select statement to get the data. There are no indexes. I copy/pasted the DDL from Oracle Ent. Mgr. to Word Document, it is 4 pages. I’m not making any of this up.
    I’ve done a replace on the field names so as to not identity the software package but here’s some of the structures used to solve my problem.:
    CREATE  TABLE  SALESTABLE,
                    BusinessDate  DATE  NOT  NULL,
                    StoreId,
                    FIELD8 ,
                    FIELD53,
                    FIELD54
    SELECT  StoreId as store,
                SUM(field8) AS WTDALLSALES,
         SUM(field53) AS WTDCARS,
         SUM(field54) AS WTDSECONDS,
         MYSTORE.GetGuestCount(221, '01-MAY-2008', '08-MAY-2008') AS WTDGuestCount,
                   MYSTORE.GetGuestCount(221, '01-MAY-2007', '08-MAY-2007') AS WTDGuestCountLY,
                   MYSTORE.GetGuestCount(221, '01-JAN-2008', '01-MAY-2008') AS YTDGuestCount,
                   MYSTORE.GetGuestCount(221, '01-JAN-2007', '08-MAY-2007') as YTDGuestCountLY
    FROM MYSTORE.SALESTABLE
    WHERE StoreId in (243,321,251,363,501)
         AND BusinessDate between '01-MAY-2008' and '25-MAY-2008'
    GROUP BY StoreIdMY GUESTCOUNT FUNCTIONCREATE OR REPLACE  FUNCTION  GETGUESTCOUNT
             storeid               IN number,
         startDate          IN date,
         endDate          IN date)
    return number
    AS
         guestCount     number;
    BEGIN
         SELECT SUM(Field82  + Field83 + field84)
         INTO GuestCount
         from MYSTORE.SALESTABLE     where StoreId= storeid
            and  BusinessDate between startdate and enddate;
        return guestcount;
    END GETGUESTCOUNT;Here is a portion of the vendor's DDL for the Sales Tables (just to show how confusing name is) which I have cleaned up for this post: (My company has a table of what these fields map to. )
        NULL, "FIELD94" NUMBER DEFAULT 0 NOT NULL, "FIELD95"
        NUMBER DEFAULT 0 NOT NULL, "FIELD96" NUMBER DEFAULT 0 NOT
        NULL, "FIELD97" NUMBER DEFAULT 0 NOT NULL, "FIELD98"
        NUMBER DEFAULT 0 NOT NULL, "FIELD99" NUMBER DEFAULT 0 NOT
        NULL, "CONF_STR1" VARCHAR2(50 byte), "CONF_STR10" VARCHAR2(50
        byte), "CONF_STR11" VARCHAR2(50 byte), "CONF_STR12"
        VARCHAR2(50 byte), "CONF_STR13" VARCHAR2(50 byte),
        "CONF_STR14" VARCHAR2(50 byte), "CONF_STR15" VARCHAR2(50
        byte), "CONF_STR16" VARCHAR2(50 byte), "CONF_STR17"
        VARCHAR2(50 byte), "CONF_STR18" VARCHAR2(50 byte),
        "CONF_STR19" VARCHAR2(50 byte), "CONF_STR2" VARCHAR2(50 byte),
        "CONF_STR20" VARCHAR2(50 byte), "CONF_STR3" VARCHAR2(50 byte),
        "CONF_STR4" VARCHAR2(50 byte), "CONF_STR5" VARCHAR2(50 byte),
        "CONF_STR6" VARCHAR2(50 byte), "CONF_STR7" VARCHAR2(50 byte),
        "CONF_STR8" VARCHAR2(50 byte), "CONF_STR9" VARCHAR2(50 byte),
        "STOREID" NUMBER NOT NULL, "IS_APPROVED" NUMBER NOT
        NULL, "IS_POSTED" NUMBER NOT NULL, "PRIMARY_KEY" NUMBER NOT
        NULL, "SAVE_NO" NUMBER NOT NULL, "IS_ARCHIVED" NUMBER DEFAULT
        0,
        CONSTRAINT "SYS_C002502" PRIMARY KEY("PRIMARY_KEY")
        USING INDEX 
        TABLESPACE "ERSINDEX"
        STORAGE ( INITIAL 64K NEXT 0K MINEXTENTS 1 MAXEXTENTS
        2147483645 PCTINCREASE 0) PCTFREE 10 INITRANS 2 MAXTRANS 255)
        TABLESPACE "ERS" PCTFREE 10 PCTUSED 0 INITRANS 1 MAXTRANS 255
        STORAGE ( INITIAL 64K NEXT 0K MINEXTENTS 1 MAXEXTENTS
        2147483645 PCTINCREASE 0)
        LOGGINGEdited by: user651380 on May 18, 2009 9:16 AM Corrections made

  • Newbie: what software do I need to install HTML-DB on linux?

    Hi all
    I'm a complete beginner in HTML-DB and I have the assignment to install HTML-DB on a server in our company.
    I'd like to install it on a Fedora Core 3 RedHat Linux machine; is that ok? I tried to find the compatibility on Metalink but I was completely confused there.
    So what software do I exactly need for HTML-DB? I have found the tutorials on how to prepare linux for HTML-DB, but where do I get the software from? Please post me a link to the products needed, I'd be very thankful.
    Thanks very much and have a great time
    Joshua Muheim from Switzerland

    well, i can see different products now on the download page. i see a standalone version of html-db. can i just download and install this one without any other oracle installation? or does this one need oracle database 10g too?
    i mean this one here:http://download.oracle.com/otn/nt/oracle10g/htmldb/htmldb_1.6.0.zip
    if i can not just install it like meant above, do i have to download the files of oracle db 10g...
    ship.db_Disk1.lnxx86-64.cpio.gz
    ship.db_Disk2.lnxx86-64.cpio.gz
    ...install it and then what other files do i have to download and install over the database?
    i'm sorry for these very simple questions, but i'm not familiar to the oracle products because i'm a trainee and got the task to install html db on my own... so i'm happy if you could help me.
    have a nice week
    Joshua Muheim

  • Cloud Newbie: What is the best way to sync content files between locations?

    Not new to Dreamweaver, but am new to the Creative Cloud.  I typically carry an external drive with my web files and update site from home or work computer using those files.  Now that I'm using Dreamweaver CC, I'm trying to find the most efficient way to sync content files between computers.  I see that the "Sync Settings" allows for syncing of preferences - but not content. Anyone have a recommendation? Or do I simply make my changes at work. Then go home and download the page I made changes to update my home files?
    Thanks,
    George

    The Cloud isn't going to synch your site files between 2 computers.  That's not what it's for.
    You might want to explore file check-in/out feature in DW. 
    http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcda9110b1f693f21-7ebfa .html
    This lets you check files in/out from your Remote server.  That way, you know you're working on the lastest copy. Check-in/out is typically used in collaborative environments where 2 or more people work on the site.  But it might serve your needs as well.
    Nancy O.

  • Newbie: What is the best approach to integrate BO Enterprise into web app

    Hi
    1. I am very new to Business Objects and .Net. I need to know what's the best approach
    when intergrating bo into my web app i.e which sdk do i use?
    For now i want to provide very basic viewing functionality for the following reports :
    -> Crystal Reports
    -> Web Intellegence Reports
    -> PDF Reports
    2. Where do i find a standalone install for the Business Objects Enteprise XI .Net providers?
    I only managed to find the wssdk but i can't find the others. Business Objects Enteprise XI
    does not want to install on my machine (development) - installed fine on server, so i was hoping i could find a standalone install.

    To answer question one, you can use the Enterprise .NET SDK for each, though for viewing Webi documents it is much easier to use the opendocument method of URL reporting to view them.
    The Crystal Reports and PDF instances can be viewed easily using the SDK.
    Here is a link to the Developer Library:
    [http://devlibrary.businessobjects.com/]
    VB.NET XI Samples:
    [http://support.businessobjects.com/communityCS/FilesAndUpdates/bexi_vbnet_samples.zip.asp]
    C# XI Samples:
    [http://support.businessobjects.com/communityCS/FilesAndUpdates/bexi_csharp_samples.zip.asp]
    Other samples:
    [https://boc.sdn.sap.com/codesamples]
    I answered the provider question on your other thread.
    Good luck!
    Jason

  • Newbie: What is your favorite feature?

    Care to share your favorite feature? I am tryint to get to know my new BlackBerry This is so different from the Treo but I do love that the email is delivered without delay.  Hoping to discover why the Verizon Rep.  thinks the BlackBerry is a Superior Product!
    Thanks
    Solved!
    Go to Solution.

    I am new to BB too! I have the curve and like you, I like the quick emails - but mine is all personal use. I dont use it for work!  So I look forward to hearing what others say their favorite feature is too!! thanks and welcome!
    Nurse-Berry
    Follow NurseBerry08 on Twitter

  • [NEWBIE] What's IsaCoreBaseAction's isaPerform method bom param's value?

    Hi Experts,
    I'm new to the ISA Framework.
    Can you please help me understand what will be the value of bom variable in isaPerform method?
    Where does it gets the value? Will it get values in bom-config.xml? Or will it only load the available functions from ISA API ?
    Please advise, thank you very much!
    public ActionForward isaPerform(
              ActionMapping mapping,
              ActionForm form,
              HttpServletRequest request,
              HttpServletResponse response,
              UserSessionData userSessionData,
              RequestParser requestParser,
              BusinessObjectManager bom,
              IsaLocation log)
              throws CommunicationException {
    Edited by: jemaru on Feb 1, 2010 8:04 PM
    Edited by: jemaru on Feb 1, 2010 8:59 PM

    Hi Jemaru,
    To access Business Objects (BO) you need Business Object Manager(BOM) main function of BOM is to access or get reference of Business Objects to use in your Action class. If you want to use any Business Object whether it is standard ISA BO or your custom BO you can access it or get reference of BO only through BOM.
    If you have custom BO then you have to create custom BOM and appropriate entry must be created in customer "bom-config.xml" file.
    Main object of BOM is to manage Business objects. When you try to access access any BO, Relevant BOM checks if there is already an object created. If so, a reference to this object is returned, otherwise a new object is created and a reference to the new object is returned.
    If you want to access custom BO then first you have to get Reference of your Custom BOM and then by using BOM reference you can get access or reference to your custom BO.
    Proper entry of custom BOM must be created in "bom-config.xml" file in customer space.
    In IsaCoreBaseAction class bom contains ISACORE-BOM object. i.e. standard BusinessObjectManager throught which
    you can get reference of Business Object like User, Shop, Basket etc....
    More detail and example you can find in Development and extension Guide which is available from service market place.
    I hope this little explanation will help you to understand the BOM functionality.
    Regards.
    eCommerce Developer

Maybe you are looking for

  • Connecting ipod to computer/itunes

    when i plug in my ipod into the usb in my computer it says that one of the devices has malfunctioned and windows does not recognize it (i have used this ipod on my old computer before with no problems with it) i have connected this ipod to this compu

  • HOW DO I CREATE A HYPERLINK TO A FILE?

    i have tried to do a hyper link to a file other than a website. one that i have saved on my computer such as a word document. i followed the directions and nothing happens once i have put in file and chosen the file. does it need to be in a certain f

  • OS X tiger has been installed and I wanted OS 9 Classic I installed but...

    When I installed the OS 9 to run in classic the system folder can not be found and I have installed it. I see it but it won't launch. any help would be appreciated

  • Error starting basic OCSG domain

    I get this error when I start the basic OCSG domain: <4/Mar/2009 19H10m GMT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: [Management:141245]Schema Validation Error in C:\bea\user_projects\doma ins\basic-ocsg-domain\config\config.

  • RDS server message: could not initialize class com.adobe.rds.core.services.Messages

    I just moved to a new host with my own dedicated cloud server.  Using CF9.  Everything seems to be working fine with the server, but i get the following error when connecting to it via RDS through CF Builder 2. RDS server message: could not initializ