Some basic idea regarding using arrays

hi,
I was new bie to java programming.
I was to develop a E-shopping store application using only arrays(no jdbc).
My doubt is that how to add,update or delete a set of elements(catalogue) in the array.
thank for ur time.
cheers
mons

monsu,
You could implement the array with one column to indicate if there is an active record or not. Or do like dos did with its files and make the first character of the record blank if it were erased.
You could also implement your solution with Vectors or Linked Lists... and have the ability to add and remove records. You would also have the ability to have more than a constant amount of items in your list.

Similar Messages

  • After a month some good some bad. BB really messed up on some basic features we used to have

    I've been a BB user since they were Blueberry's. I have to say the Q10 after a month of using it is seriously deficient in features compared to my Tour. I thought I was getting the best of the Tour but now with a decent sized screen. Boy was I wrong. So here's my assessment from a road warrior that uses his machine to take care of emails, contacts and access to hotel and airline websites. I don't play games, watch movies or use it as a pacifier like so many do.
    1.) Link - Doesn't work on my system. BB support tried and tried but couldn't get it to work on my Lenovo/Windows 7. So I have no easy way to synch Outlook contacts, calendar etc... I think BB Desktop was a far superior interface as was BIS for setting email. I don't know why they had to go backwards on this and not transport the key parts into the new OS interface. It's only programmer/developer time to make it happen.
    2.) Not ringing when holstered? C'mon that's a HUGE oversight. I'm a business man in constant travel meetings around the world. I always had the Tour set to vibrate in holster and ring out of it. Now I have to shut the Q10 off or fiddle through a bunch of screen taps. The not ring in holster setting is key for me. Having someone's phone go off (especially mine) in a meeting with me is a big no no. I hope that they can add this feature back in.
    3.) Battery Life - Great as expected with a BB
    4.) MP3 Player - Looks like I'll have to keep keeping track of another device to listen to my MP3's. Really, what's it take to have high quality MP3 audio?
    5.) Screen and ergonomics - Awesome human interface engineering. Too bad the features and supporting expectations are still weak sauce.
    6.) Websites Access - Fast 4G, nice screen=Happy with improvement over 3G small screen Tour
    7.) Call quality - Great
    8.) Basic Operating descriptions - Maybe it's me but I couldn't locate how to make the center button between the volume rockers into a programmable hot key. I'd like that to be the Voice control so I can use it to initiate voice commands. There was no manual in the box and no instructions on where to go to get the user guide.  I found the guide via a link on this site.
    Bottom line is that I'm going to keep it and hope that Blackberry actually reads some of these as they have no way to get feedback from their users. This is a basic flaw as well. I make my business better by listening to my customers and making my best effort to meet their expectations. It seems BB has gone the "Good enough" route. Maybe it's still early and there's hope.... That's my story and I'm sticking to it (for at least another 2 years).

    S, Interesting analysis!
    I am a user very similar to you. Fortunately for me, I have hit none of the snags you describe and don't care too much about the drawbacks you cite. Whew!...guess I was lucky!
    I am enamored with the Q10 because of the positives that you mention as well as numerous others that exist with the Q10.
    . . . . . Pete

  • Some basic help in Threads

    Hi all,
    I have some basic problem regarding use of thread.I have a class A (with main method )which creates 5 instance of class B say b1,b2,b3,b4,b5.This class B extends thread.
    Now within main of A i spawn 5 thread by calling b1.start(),b2.start(),b3.start(), b4.start(),b5.start().
    Now contraint is at any time A can spawn only 5 threads.For this there is another class C that has private variable count and 3 synchronised method one which increments count , second one decrements count,third one returns count and same instance of this class is pass to each of the thread.
    Before terminating each thread calls decrement method of this object .
    After spawning 5 thread main thread sleeps for some defined time and whenever it wakes up it checks if count is less than 5 if yes then it spawns new thread and call increment method.
    Now i want to avoid the logic of main thread sleeping for some defined time than waking up checking value of count and rather want a logic in which main thread sleeps and wakes up only when one of the thread terminates.Thus unnecessary checking of value of count is avoided.
    There must be way for this because this is very common problem which many of you might have faced.I have simplified by problem because this is one of the concept on which design of my application depends.If any one has found some tutorial or code example which describes similar problem then kindly let me know.
    Regards,
    beginner83.

    Hi all,
    I have some basic problem regarding use of thread.I
    have a class A (with main method )which creates 5
    instance of class B say b1,b2,b3,b4,b5.This class B
    extends thread.Well, that's not a good start. It's generally not a good idea to extend Thread, instead the class with the Thread's execution run method should implement Runnable and be attatched to a Thread object when the Thread object is created.
    Now within main of A i spawn 5 thread by calling
    b1.start(),b2.start(),b3.start(),
    b4.start(),b5.start().
    Now contraint is at any time A can spawn only 5
    threads.For this there is another class C that has
    private variable count and 3 synchronised method one
    which increments count , second one decrements
    count,third one returns countSo how about a method to the class which causes the calling thread to wait while the thread count is five or more. Then your main method can include this in it's thread-starting loop.
    See Object.wait and Object.notifyAll().

  • I'm new to using dbms_scheduler. I'm trying out some basic stuff to see how it works

    I have not used the dbms_scheduler package before and trying out some basic functionality to see and understand how it works. The below code is what I have writtern
    BEGIN
    DBMS_SCHEDULER.create_job(
    job_name => 'Test_Job3',
    job_type =>  'PLSQL_BLOCK',
    job_action => 'BEGIN pr; END;',
    start_date => systimestamp,
    repeat_interval => 'freq=secondly;bysecond=4;',
    end_date => null,
    enabled => true,
    comments => 'This job is test for dbms_scheduler'
    END;
    create procedure pr
    is
    begin
    DBMS_OUTPUT.PUT_LINE('Inside the pr procedure called using scheduler');
    end;
    According to my understanding it should print the line inside the procedure 'pr' every 4 seconds, but I don't see any output being shown. Can someone help me understand what exaclty is wrong with my code. I'm using Toad for oracle.

    One more question - I'm trying to bring in one more functionality. Lets says - There is a job that needs to be executed every month at a particular time. I schedule it, but I want this job to be executed 'n' number of times.
    For example - There is procedure that is called in the scheduler. Since its processes lot of records - I'm breaking down in chunks of data - Say 5 chunks. Now when its scheduled each month at a particular time - it should ideally execute 5 times in order to complete the job for that month. How can this be achieved ? I thought of using max_runs, but that might end the job and never repeat it again.

  • I am missing some basic video transitions that used to be there.

    I am missing some basic video transitions that used to be there.  Using Adobe Premier Pro CC 8.1, Caravan.  Update any time Creative Cloud prompts me to.
    Some third party transitions also are acting like I've never registered them, but it concerns me that video transitions that are native to Adobe Premier are missing.

    If you are on a mac look here Adobe Premiere Pro Help | New features summary
    to see transitions that are no longer there. Look for "deprecated video transitions" about two-thirds of the way down

  • Can not find some messages in Mail using search

    I have some problems with Mail.app I can not find some messages in Mail using search, the strange thing is that sometimes mail search finds some messages, but after rebuilding spotlight index the search displays other messages with the all messages searched using same search criteria. I have also tried to delete Envelope index file from the Mail folder in usr/library and forced mail to import all mailboxes but it started to crash importing some of mailboxes - I deleted the messages from that mailboxes, imported remaining mailboxes and tried to rebuild mailbox, but everything without a successes. Any ideas how to solve it?

    Hi lnaki vila
    I'm using pi 7.0 version
    i can see the other scenarios like SOAP to RFC, SOAP to IDOC,FILEto IDOC
    in sender side i'm not using any communication channel and adapter engine i'm just using http client tool for testing purpose
    i'm getting the response that's fine because its a synchronous communication
    i checked sxmb_adm in that -->integration configuration LOGGING parameter of category RUNTIME is set to  ENGINE_TYPE and current value is HUB(Integration server)
    thanks in advance
    regards
    Satish

  • Using Arrays in a program

    First, I would like to thank everyone in this forum for all the help they have given me over the past few weeks. With that said, I am currently trying to alter the following code to accept and use arrays to end to produce three seperate results. The program now as three hard coded variables which are
    Amount = 200000.00;
    Term = 30;
    InterestRate = .0575;
    I need to have the program work the same, but produce results for three different Terms and Three different periods. Below is the code the I am working on, I have added two arrays containing the required information. I am having a hard time coming up with a for statment to move the program through the two arrays. Any pushes in the right direction would be great. I left the hard code variable in place, I know that I do need to remove them and alter the equations. I just thought it would be easier for everyone to understand if I left the code in working form.
    import java.math.*;
    import java.text.*;
    import java.util.*;
    // The Payment class displays a predetermined monthly mortgage payment
    public class Payment
         public static void main(String[]arguments)
              //Creates Two Arrays for InterestRates and Terms
              double[] InterestRates = {.0535, .055, .0575};
              int[] Terms = {7, 15, 30};
              //Creates variables
              double Amount;
              int Term;
              double InterestRate;
              //Assigns values to variables
              Amount = 200000.00;
              Term = 30;
              InterestRate = .0575;
              //Alters the display format of Amount variable
              NumberFormat n = NumberFormat.getCurrencyInstance(Locale.US);
              String s = n.format(Amount);
              //Creates variables
              double MonthlyInterestRate;
              int TotalMonths;
              double Payment;
              //Assigns values to variables
              MonthlyInterestRate = InterestRate / 12;
              TotalMonths = Term * 12;
              Payment = Amount* MonthlyInterestRate / (1-(Math.pow((1+MonthlyInterestRate ),(-TotalMonths))));
              //Takes Payment variable and round answer to 2 decimal points
              BigDecimal bd = new BigDecimal(Payment);
    bd = bd.setScale(2, BigDecimal.ROUND_DOWN);
              //Instructions to display various varibles
              System.out.println("Cost of Mortgage "+ s);
              System.out.println("Length of Term " + Term);
              System.out.println("Interest Rate 5.75% ");
              System.out.println("The monthly payment of this loan is $" + bd);
              System.out.println();
              //Creates new set of variables
              double MonthlyInterest;
              double MonthlyPrincipal;
              double TotalInterestPaid;
              int NumberofPayments;
              //Creates Balance variable
              double Balance;
              //Initialization of Balance variable
              Balance = 200000;
              TotalInterestPaid = 0;
              NumberofPayments = 360;
              //Creates a loop that calculates the entire term of loan
              do
              MonthlyInterest = Balance * (InterestRate / 12);
              MonthlyPrincipal = Payment - MonthlyInterest;
              Balance = Balance - MonthlyPrincipal;
              TotalInterestPaid = TotalInterestPaid + MonthlyInterest;
              NumberofPayments = NumberofPayments - 1;
              //Takes current balance and rounds the answer to two digits
              BigDecimal bb = new BigDecimal(Balance);
    bb = bb.setScale(2, BigDecimal.ROUND_DOWN);
              BigDecimal tip = new BigDecimal(TotalInterestPaid);
                        tip = tip.setScale(2, BigDecimal.ROUND_UP);
              System.out.println("New Loan Balance " + bb);
              System.out.println();
              System.out.println("Total Interest Paid " + tip);
              System.out.println();
              System.out.println("Number of Payments remaining " + NumberofPayments);
              System.out.println();
              //The following lines of code pauses the loop to allow the user to read the output
              //The speed of th display can be adujusted to a wide variety of speeds
              try
                   Thread.sleep(400);
                   catch (InterruptedException exc)
              //Loop condition
              while (NumberofPayments > 0);
    //Ends Application

    Try this. It should give you some ideas. :)
    import java.math.BigDecimal;
    import java.text.NumberFormat;
    import java.util.Locale;
    // The Payment class displays a predetermined monthly mortgage payment
    public class Payment {
        public static final NumberFormat CURRENCY_FORMAT = NumberFormat.getCurrencyInstance(Locale.US);
        public static final double[] INTEREST_RATES = {.0535D, .055D, .0575D};
        public static final int[] TERMS = {7, 15, 30};
        public static final double AMOUNT = 200000.00;
        public static final int MONTHS_PER_YEAR = 12;
        public static void main(String[] arguments) {
            for (int t = 0; t < TERMS.length; t++) {
                for (int i = 0; i < INTEREST_RATES.length; i++) {
                    displayPayments(AMOUNT, INTEREST_RATES, TERMS[t]);
    private static void displayPayments(double amount, double interestRate, int term) {
    //Creates variables
    //Assigns values to variables
    double monthlyInterestRate = interestRate / MONTHS_PER_YEAR;
    int totalMonths = term * MONTHS_PER_YEAR;
    double payment = amount * monthlyInterestRate / (1 - Math.pow(1 + monthlyInterestRate, -totalMonths));
    //Instructions to display various varibles
    System.out.println("Cost of Mortgage " + CURRENCY_FORMAT.format(amount));
    System.out.println("Length of Term " + term);
    System.out.println("Interest Rate " + new BigDecimal(interestRate * 100).setScale(2, BigDecimal.ROUND_HALF_UP) + '%');
    System.out.println("The monthly payment of this loan is " + CURRENCY_FORMAT.format(payment));
    System.out.println();
    //Creates new set of variables
    double totalInterestPaid = 0.0D;
    //Creates balance variable, Initialization of balance variable
    double balance = amount;
    //Creates a loop that calculates the entire term of loan
    System.out.println("New Loan balance, Total Interest Paid, Number of Payments remaining");
    for (int numberofPayment = totalMonths; numberofPayment > 0; numberofPayment--) {
    double monthlyInterest = balance * monthlyInterestRate;
    double monthlyPrincipal = payment - monthlyInterest;
    balance -= monthlyPrincipal;
    totalInterestPaid += monthlyInterest;
    //Takes current balance and rounds the answer to two digits
    BigDecimal bb = new BigDecimal(balance);
    bb = bb.setScale(2, BigDecimal.ROUND_DOWN);
    BigDecimal tip = new BigDecimal(totalInterestPaid);
    tip = tip.setScale(2, BigDecimal.ROUND_UP);
    System.out.println(CURRENCY_FORMAT.format(bb.doubleValue()) + ", " +
    CURRENCY_FORMAT.format(tip.doubleValue()) + ", " +
    numberofPayment);
    System.out.println();
    //Ends Application

  • Some simple questions regarding the Xcode.

    I have some preliminary questions regarding the Xcode (objective C):
    What is the difference between the programming files followed by .h and .m?
    What does an asterisk * followed by a text mean (i.e. *window;)?
    Is there any source that briefly explains the most common codes with examples (nsstring, nsarray, iboutlet, inaction.....etc)?
    Any other tips will be highly appreciated.
    Many thanks.

    Xcode is the IDE.
    Objective-C is the most common language used within Xcode.
    UIWindow *window .....  the * means return the address of the instance variable 'window'.
    An * is called a pointer to a variable.
    Everything you need is explained here:  https://developer.apple.com

  • Hello, for a multilingual catalog project I would have to know how and with what tool I can place text from Excel or a database in text frames / tables. The basic idea is to provide the text box with an ID (eg text_eng_art_nr_987654 ) and above to ma

    Hello, for a multilingual catalog project I would have to know how and with what tool I can place text from Excel or a database in text frames / tables. The basic idea is to provide the text box with an ID (eg << text_eng_art_nr_987654>>) and above to make the connection. Does anyone have a tip. Thanks in advance !!!
    Bernd

    Data merge is really useful in many circumstances, but my first question would be about the size of the project. A really large catalog might be better handled by processing an IDML in some kind of translation memory tool.
    If all of your multilingual content is already in Excel, then it's probably best handled with a Data Merge. Note that you can't save Unicode CSV out of Excel for the merge, so for many languages you'll need to save "Unicode Text" out of Excel and tweak your import settings when you select a Data Source for encoding (Unicode) and delimiter (tab instead of comma).

  • Want to have some beginners idea.

    Hi all,
              I want to have some beginners idea in BAPI BADI
    in a very simple language with analogies so that it will be helpful to understand.
              Not with high technical jargons.
              Experts pls help me out.
      With regards,
       Abir.

    Hi,
    BAPI :- is similar to function module. they do some specific task related to business objects.
    they no difference in the functinality of BAPI & Function Module.
    BADI:- Business addins . They higher version of user EXITS. They provide better way to enhance standard screen. they help in adding addtinal functionality for existing application.
    Usefull Links
    BADI Link
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.kabai.com/abaps/q.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
    BAPI-step by step
    http://www.sapgenie.com/abap/bapi/example.htm
    Mark Helpfuul Answers
    Regards
    Message was edited by: Manoj Gupta

  • Some Basic Queries

    Hi,
    Got some queries regarding Datawarehouse Builder 9.0.2
    1) How can i keep a track of records rejected due to validation Failures?
    2) How can i refresh the load based on date specified??
    These might be some basic queries. Just trying to learn how can i use this tool as per my business requirements.
    Thanks in advance. Any help would really be appreciated.
    Regards
    Biju

    Note that you're getting a fairly dumbed-down view of the whole virus issue so far.  People like to play word games with this topic.  It's important to understand that malware does exist for the Mac, so that you don't let a false sense of security behave in dangerous ways.  Of course, there's been several orders of magnitude less malware released for the Mac in the last 10 years than appears for Windows every day, on average, so you'll probably never see any malware...  but it's still possible.  For the full story on Mac malware, see my Mac Malware Guide.  (Note that my pages contain links to other pages that promote my services, and this should not be taken as an endorsement of my services by Apple.)
    Also, regarding whether the stock 13" MBP has enough memory for you, it is impossible to answer accurately without knowing what you plan on doing with your computer.  If you're a graphic designer, for example, who needs a lot of memory and power, 4 GB may not be enough, and for that matter, a 13" MBP might not be right for you.  What do you plan on doing with it?

  • Who could you give me some general idea

    hi all
    who could you give me some general idea about that
    developping a web service that may be used for monitoring the performance of the Windows PC on which it runs. The web service will return key performance metrics, such as peak performance,maximum memory, current load, and current available memory. A secondary aim will be to develop a portlet that will provide an interface to the service.
    Tomcat or J2EE web server, JSR-168 compliant portlets, and Web Services for Remote Portlets (WSRP) should be metioned!
    thanks
    with regards
    Dashan

    First of all, if you want to create a chess board, create a panel with a grid layout. The grid layout will carry the number of rows and columns that you need.
    Second, you will have to set the color of each grid alternatively to black and white.
    After you have done this, your chess bord is ready.
    Now...coming to the mouse events:
    You will have to implement a MouseListener and implelemnt the method mouseClicked(MouseEvent e) attached to the container.
    So when you use the methods getX() and getY() based on the MouseEvent e...
    e.getX(); //Returns the horizontal x co-ordinate
    e.getY();// Returns the horizontal y co-ordinateHope this helps.
    Vijay :-)

  • Some basic question about SCM Installation

    Hi Folks,
    Could you please advice me about some basic questions about SCM and its installation -
    Q1. Do I need to have an R/3 System to be able to practice OR demo the SCM system?
    Q2. If, yes, which version of SCM is compatible with the ECC 5.0?
    Q3. What are the basic requirements to install SCM (version compatible with ECC 5.0) and ECC on a oracle db and windows OS?
    Q4. Does SCM have APO and BI as an inbuilt functionality OR does the user need to purchase these as an Add-On?
    I know these are some basic questions, but these will help me give me a direction.
    With best wishes,
    Krishna

    Hello Krishna -
    Q1. Do I need to have an R/3 System to be able to practice OR demo the SCM system?
    ---> There are various Modules in SCM Like APO (Sub Modules  DP (stand alone), SNP Needs Master data from R/3 and has to pass on transactional Data to R/3, PPDS same as SNP, GATP same as SNP), ICH needs Data from R/3 to work with. Core Interface (CIF) connects R/3 to APO for transferring data.
    Q2. If, yes, which version of SCM is compatible with the ECC 5.0?
    -->For thorough understanding explore the following links
    http://help.sap.com/saphelp_scm41/helpdata/en/9b/954d3baf755b67e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_scm50/helpdata/en/9b/954d3baf755b67e10000000a114084/frameset.htm
    Q3. What are the basic requirements to install SCM (version compatible with ECC 5.0) and ECC on a oracle db and windows OS?
    -->Refer Above
    Q4. Does SCM have APO and BI as an inbuilt functionality OR does the user need to purchase these as an Add-On?
    --> APO comes with a small BI inbuilt functionality. you can only perform certain functions using that BI.
    Hope this helps.
    Regards,
    Suresh Garg

  • Some Basic steps How to tune this Query

    Hi All
    This is my cursor Query to fetch the Eligible orders its taking too much of time to execute, This is my query
    SELECT oeol.header_id,oeol.attribute1,oeoh.order_number,COUNT(1) consignment_count
    FROM oe_order_lines_all oeol,oe_order_headers_all oeoh,oe_transaction_types_all oett
    WHERE oeol.header_id = oeoh.header_id
    AND oeol.flow_status_code IN(DECODE(oett.name,xxhdnl_om_common_util_pkg.g_push_line_type,
    DECODE(oeol.shipment_priority_code,'EXPRESS',DECODE(oeol.flow_status_code,'AWAITING_STOCK'
    ,'AWAITING_STOCK','STOCK_RECEIVED','STOCK_RECEIVED'),'STOCK_RECEIVED')
    ,DECODE(XXHDNL_OM_QUI_BAT_PLAN_EXT_PKG.check_push_or_pull(oeol.line_id),'PUSH','BOOKED')))
    AND(oeol.shipment_priority_code=p_shipment_priority OR p_shipment_priority IS NULL)
    AND oeol.line_type_id =oett.transaction_type_id AND oett.name IN
    (xxhdnl_om_common_util_pkg.g_return_line_type
    ,xxhdnl_om_common_util_pkg.g_push_line_type )
    AND oeoh.attribute3 IS NULL
    GROUP BY
    oeol.header_id
    ,oeol.attribute1
    ,oeoh.order_number;
    Pls provide some basic steps for tuning regarding some performance.
    thanks & regards
    Srikkanth.M

    Hi
    as I tried to say is that DECODE is just hard to read, but not a performance issue.
    What do you do in the XXHDNL_OM_QUI_BAT_PLAN_EXT_PKG.check_push_or_pull(oeol.line_id) procedure?
    But let me try the DECODE... not 100% correct as I can't test but you'll get the picture:
    SELECT
    FROM
    WHERE oeol.flow_status_code IN
    CASE WHEN oett.name = xxhdnl_om_common_util_pkg.g_push_line_type THEN
       CASE WHEN oeol.shipment_priority_code = 'EXPRESS' THEN
          CASE WHEN oeol.flow_status_code ='AWAITING_STOCK' THEN 'AWAITING_STOCK'
               WHEN oeol.flow_status_code ='STOCK_RECEIVED' THEN 'STOCK_RECEIVED'
               ELSE null END
          ELSE
          CASE WHEN XXHDNL_OM_QUI_BAT_PLAN_EXT_PKG.check_push_or_pull(oeol.line_id) = 'PUSH' THEN 'BOOKED'
             ELSE NULL END
    ELSE
    NULL
    ENDThat is a 1:1 "translation" PLEASE add comments in nested statements.
    And this is easier to read, as in CASE you can use AND / OR / IN ....
    SELECT
    FROM
    WHERE oeol.flow_status_code IN
    CASE WHEN oett.name = xxhdnl_om_common_util_pkg.g_push_line_type THEN
       CASE WHEN oeol.shipment_priority_code = 'EXPRESS' AND oeol.flow_status_code IN ('AWAITING_STOCK','STOCK_RECEIVED')
         THEN oeol.flow_status_code ELSE NULL END
       ELSE
        CASE WHEN XXHDNL_OM_QUI_BAT_PLAN_EXT_PKG.check_push_or_pull(oeol.line_id) = 'PUSH' THEN 'BOOKED'
             ELSE NULL END
    ENDThe "oeol.flow_status_code IN" makes no sense as the output of/DECODE/CASE is always 1 value right? And I would use the logic on a select on table "oe_order_lines_all" and then use the calculated field as a JOIN criteria. Much easier to test and read.
    But, please check the procedure which you call that can be deadly! The "case" is just "nice to have"
    -- andy

  • One very basic doubt regarding J2EE

    Hi Java Gurus
    I want to clarify one very basic point regarding J2EE. As per to my understanding a J2EE is a 3 tier system, proposed by Sun for dvelopment and deployment of component based distributed applications. A J2EE based system requires application server as a middle tier, where business logic runs. So far so good.
    Suppose i have a system which uses only JSPs and/or Servlets (No more EJBs and Application server). This system is also 3 tier system,(Client tier, Web-Server Tier and DB tier). In this case there is Web Server and no Application Server. So my doubt here is===== Can I call this as a J2EE based solution. (Assuming both the systems are performing the same task).??
    Plz help.
    Thanx
    Jam

    A bit of elaboration and clarification. (AKA, the long answer)
    The "3-tier" phrase should avoid any technological implication, thus be defined as Presentation Tier, Business Tier, Data Tier. It's meant to convey the clear separation of responsibility. A JSP/Servlet/DAO system, could constitute a 3-tier system, if applied correctly.
    The J2EE platform encompases a number of technologies, JSP, Servlet, EJB, etc.
    A J2EE compliant application server (i.e. JBoss) supports all the features of J2EE
    A Servlet engine (i.e. Tomcat) only supports a sub-set of those technologies, thus it would not correctly be called a J2EE app server.
    Calling something a "J2EE Application" really doesn't mean much, since many projects don't use every piece of J2EE technology available. Though I will agree that use of EJB is a key indicator. If it makes some manager feel better to call a JSP/Servlet app a "J2EE Application", fine.
    Calling yourself (not you, just the general "you") a J2EE developer, should mean you have experience with developing the breadth of J2EE, so having hacked out some JSPs doesn't count :)

Maybe you are looking for

  • Macbook problem since latest firmware update

    Really worried about this, have a Macbook 13" Aluminium, I updated to 10.5.7 yesterday with no problems, today though whilst watching a dvd, it just shutdown completely with no warning and now it won't restart at all, the battery was fully charged (o

  • How to have confirmed quantity 0 for credit blocked sales orders

    Hi! I have the following problem. I have one sales order blocked because credit. Using material A the quantity confirmed is 0 but using other material B the quantity is confirmed. All the materials have no avaliability check group no arelevant for va

  • AR Payment Terms/Invoice Due Dates

    I need to be able to have a search that can search for invoices that have a specific payment term and are due within a certain period of time. (ex: all invoices with Net 30 payment terms that are due within the next two weeks). I have tried the colle

  • Multiple Pages in Samrtforms

    1.i have one application program and one smartform. now where will i put a loop to print multiple forms. 2.i want every form will start at new page.

  • Oracle RAC crs无法启动的问题

    这两个节点的RAC是做为DataGuard备库. 版本:Red Linux 5.6,Oracle 10.2.0.3.0 node1->$ crsctl check crs CSS appears healthy Cannot communicate with CRS EVM appears healthy node1->$ crsctl query css votedisk 0. 0 /dev/raw/raw1 located 1 votedisk(s). node1->$ ocrcheck S