Help needed in shopping cart implementation in JSP

hi all,
i need some help or code in implementing a shopping cart in JSP. Please send me code or any web resource.

Hi!..i m in the same problem..if you have some idea or code..plz..
robin_caba(@) yahoo.es

Similar Messages

  • Need Help Badly on Shopping Cart Using JSP And Java Servlet

    Hi All,
    This is the 1st time i am trying to create a shopping cart using JSP and Servlet.
    I have read through a few acticles but i still do not get the whole idea of how it works.
    Please guide me as i need help very badly.
    Thanks.
    This is one of the jsp page which displays the category of products user would like to buy : Products.jsp
    <html>
    <head>
    <title>Purchase Order</title>
    </head>
    <body topmargin="30">
    <table border="0" width="100%" id="table1" cellpadding="2">
         <tr>
              <td bgcolor="#990000" width="96">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">
              Code</font></b></td>
              <td bgcolor="#990000" width="260">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">
              Description </font></b></td>
              <td bgcolor="#990000" width="130">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">Brand
              </font></b></td>
              <td bgcolor="#990000" width="146">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">UOM
              </font></b></td>
              <td bgcolor="#990000" width="57">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">Unit<br>
              Price </font></b></td>
              <td bgcolor="#990000" width="62">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">
              Carton<br>
              Price </font></b></td>
              <td bgcolor="#990000" width="36">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">
              Qty</font></b></td>
              <td bgcolor="#990000" width="65">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">Add<br>
              To Cart</font></b></td>
         </tr>
    <tr>
    <td align="center" width="96" bgcolor="#CCCCCC">
    <font face="Verdana, Arial, Helvetica, sans-serif" size="2">123</font>
    </td>
    <td align="center" width="260" bgcolor="#CCCCCC">
    <font face="Verdana, Arial, Helvetica, sans-serif" size="2">Tom Yam</font>
    </td>
    <td align="center" width="130" bgcolor="#CCCCCC">
    <font face="Verdana, Arial, Helvetica, sans-serif" size="2">Nissin</font>
    </td>
    <td align="center" width="146" bgcolor="#CCCCCC">
    <font face="Verdana, Arial, Helvetica, sans-serif" size="2">12 x 10's</font>
    </td>
    <td align="center" width="57" bgcolor="#CCCCCC">
    <font face="Verdana, Arial, Helvetica, sans-serif" size="2">$3.85</font>
    </td>
    <td align="center" width="62" bgcolor="#CCCCCC">
    <font face="Verdana, Arial, Helvetica, sans-serif" size="2">$46.2</font>
    </td>
    <td align="center" width="36" bgcolor="#CCCCCC">
    <!--webbot bot="Validation" S-Data-Type="Integer" S-Number-Separators="x" -->
    <p align="center"><input type="Integer" name="Q10005" size="1"></p>
    </td>
    <td align="center" width="65" bgcolor="#CCCCCC">
    <p><input type="checkbox" name="checkbox" value="123"></p>
    </tr>
    <tr>
    </table>
    <table border="0" width="100%" id="table2">
         <tr>
              <td>
              <div align="right">          
                   <input type="hidden" name="hAction" value="AddToCart"/> 
              <input type=submit name="submit" value="Add To Cart"/>                     
    </div>
    </td>
         </tr>
    </table>
    </body>
    </html>
    After user has make his selection by entering the qty and ticking on the check box, he would click the "Add To Cart" button ... and this would call my servlet : AddToAddControlSerlvet.java
    import javax.servlet.http.*;
    import javax.servlet.*;
    import java.io.*;
    import java.util.*;
    import java.util.ArrayList;
    public class AddToCartControlServlet extends HttpServlet
         public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException,IOException
              String action = req.getParameter("hAction");
              if (action.equals("AddToCart"))
                   addToCart(req,res);
         public void addToCart(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
              try
                   String url = "";
                   String[] addList = req.getParameterValues("checkbox");
                   HttpSession sess = req.getSession(true);
                   //String sessionID = sess.getId();
                   DBClass dbClass = new DBClass();
                   ArrayList cartList = new ArrayList();
                   for (int i = 0; i < addList.length; i++)
                        String productCode = (String)addList;
                        int qty = Integer.parseInt(req.getParameter("Q"+productCode));
                        Products product = dbClass.getProductDetail(productCode);
                        double totalUnitAmt = qty * product.getUnitPrice();
                        double totalCartonAmt = qty * product.getCartonPrice();
                        Order order = new Order(product.getProductCode(),product.getProductDesc(),product.getBrandName(),product.getUom(),qty,product.getUnitPrice(),product.getCartonPrice(),totalUnitAmt,totalCartonAmt);
                        cartList.add(order);
                   sess.setAttribute("cartList", cartList);
                   url = "/Cart/CartDetails.jsp";
                   ServletContext sc = getServletContext();
                   RequestDispatcher rd = sc.getRequestDispatcher(url);
                   rd.forward(req, res);
              catch (Exception e)
                   System.out.println(e);
    From here, i would get the list of items which user has selected and add to the cartList, then i would direct the user to CartDetails.jsp which displayed the items user has selected.
    From there, user would be able to remove or to continue shopping by selecting other category.
    How i do store all the items user has selected ... everytime he would wan to view his cart ...
    As i would be calling from jsp to servlet .. or jsp to servlet ... and i do not know how i should go about in creating the shopping cart.

    Hi !
    Yon can use a data structure as vector and store the items selected by the user into the vector . Keep the vector in session using session object , so the user can access the entire shopping cart from anywhere in the application .
    Then , you can change the cart accordingly .
    Hope this works.
    Cheers ,
    Pranav

  • Do I need a shopping cart

    This is just a general question about a new site I am about to develop.
    It is for the sale of one item only (a hardcover book), so I was just wondering if I really need to have a shopping cart on the site or can I get away with just routing the customer to a secure paypal page to do the whole payment process there.
    Or if anyone has any other ideas on a good safe way to carry this out, I would love and appreciate the feedback.

    Hi,
    I've done a couple of e-commerce training courses for Lynda.com that may be helpful in getting you  on firmer footing with the whole e-commerce topic. The first one is kind of dated, from a technical stand point but it is still quite good on all the facets of e-commerce, so the first half of the course still really holds it's own and couple prove helpful. The second one was released mid last year and is still VERY relevant and will give you a lot of information on the technical side of things. 
    Here are the URLs
    http://tinyurl.com/Lawrence-ecomm1
    http://tinyurl.com/Lawrence-ecomm2
    Lynda.com is a paid subscription site, but they have a free 30 trial offer that should give you plenty of time to look at these and a few other courses if you like.
    Hope this helps.  I'll also be more than happy to answer any other e-commerce related questions you may have.
    Lawrence Cramer - *Adobe Community Professional*
    http://www.Cartweaver.com
    PHP & ColdFusion Shopping Cart for Adobe Dreamweaver
    Stay updated:
    http://www.facebook.com/cartweaver
    http://www.twitter.com/cartweaver
    http://blog.cartweaver.com

  • Help with a shopping cart idea

    Hi All,
    I have been asked if I can do a shoppinng cart for a friend
    and initially I said yea Iknow of some ready made carts out there
    in ASP ..
    But I wondered if we could do our own in DW with some
    extensions?
    Is this hard or very complex?
    Id say I was an intermetiate coder in VB and VBs and can
    follow most instructions or manuals and would like to do our own if
    it wasnt such a mammoth task..
    Any thoughts or suggestions would be welcome.
    Thanks

    Tag2007 wrote:
    > Thanks for that Ive found their forum and put up a post.
    >
    > Can I ask you guys what I need to consider for payments
    and gateways,
    > My friend has the little machine at work for taking
    credit card
    > payments.so do I just get the cart to take the card
    details and save
    > them to a database for retrieval or whats the way this
    is done?
    >
    > Sorry to ask, Ive done this with paypal but never needed
    a secure set
    > up if I do need this?
    >
    > Thanks again
    The customer needs an Internet Merchant Account. This is
    different from the
    Merchant Account he will have for the POS terminal, and if
    the bank notice
    that a POS terminal is used for internet purchases, he will
    probably be in
    breach of his contract with the bank - they may take away his
    Merchant
    Account altogether. The bank *will* notice, because of the
    large number of
    CNP (customer not present) entries he will be making - even
    if there are no
    chargebacks (which is the big risk of all internet shopping
    carts).
    The fact that he already has a merchant account will help
    when he applies
    for an IMA. He *will* be paying higher fees for an IMA.
    When writing the shopping cart, you NEVER store card holders
    details on your
    site. If you do, and your site is ever compromised, *you* may
    be held liable
    for any fraudulent transactions made on any card details
    stolen from you.
    Obivously if you are a massive company, there are business
    reasons why you'd
    want you own control of all data. But if that was the case,
    you wouldn't
    have to ask! <g>
    For most small shopping carts (i.e, bigger than paypal), I
    take the
    following approach. I won't claim that it's perfect, or the
    cheapest, but it
    works (and I'm open to suggestions on improving it).
    1. Make sure that the web site to hold the shopping cart is
    on a dedicated
    IP address. You should then purchase an SSL certificate for
    that site.
    2. All parts of the shopping cart which collect *any*
    customer data - e.g.
    name and address - should be protected by the SSL.
    3. All monetary transactions should be handled by a card
    payment processor,
    e.g Worldpay, Metacharge. Let *them* deal with the credit
    card details. All
    you need to pass are sufficient transaction details so that
    you can audit
    back to the original sale if there are any queries.
    Note that some payment processor company can also help you
    set up the IMA
    account (Metacharge certainly do), and this may save you some
    hassle/money.
    Otherwise you need to have the IMA account details to pass to
    the payment
    processor.
    Once you think you're ready to go live, test it thoroughly.
    Then test it
    again, and test a little more. Test for invalid transactions
    are well as
    valid ones. The card companies have test numbers you can use,
    but also do a
    few live payment tests before releasing it to the client (do
    it on your own
    card, then refund it through the payment processors
    interface).
    HTH,
    Pete.
    Peter Connolly
    http://www.acutecomputing.co.uk
    Derby
    UK
    Skype ID: acutecomputing

  • I am newish to DW and need a shopping cart, how do I go about this please?

    Hi there, I am wanting to have a shopping cart within dreamweaver cs5, could you please advice the best and simplest way of achieving this, I'm not that savvy with code yet so I think something relatively simple would be ideal, I have heard of ecart, however my knowledge is limited, your knowledge would be appreciated, many thanks in advance.

    I would suggest you look into a 3rd party package.  Cartweaver is one to look at, webassist also makes one.
    Gary

  • Help needed on Logging Servlet Implementation using high traffic HTTP Post

    I have a servlet called LogServlet, which accepts the post HTTP request Data from another application and logs it into a file. The key thing here is the logs should get logged in a squence it is received.
    Since the frequency of the data being sent is very high the LogServlet is not able to keep it up with the sequence and messing up the sequence.
    Are there any suggestions on how to improve this and make sure the servlet logs it in the way it receives it?
    Can I replace the Servlet with JSP to do the logging and will that solve my sequence issue?
    Or there are any other techniques.
    Thanking you in advance.

    You could use the log4j logging tool, it uses a static Logger for the class and you can run it in synchronized mode to ensure that your log messages don't clobber each other. Hmm, you're testing my knowledge of how synchronization is implemented in Java. It uses a semaphore-style approach under the covers, but is it a fair-style (first-come, first-served) implementation?
    After a quick Google search I just learned that in the normal VM fairness is not guaranteed, but if you use the Sun Real-Time VM synchronized will guarantee FIFO style access to synchronized resources. The Real-Time VM is not free, so if cost is an issue that might not be an option for you. That's going to make things more complicated for you since ordering sounds important.
    You can probably write something fairly easily to do what you want. Basically write a queue processing class that uses either static methods/variables or a Singleton approach to ensure that your messages get processed in a FIFO order. Then just use your existing logging logic or use log4j to write your messages to a log file. There are several pitfalls to writing multi-threaded components like this, so be careful that you've synchronized the right methods and, depending on how you decide to implement it, use the right Queue implementation (hint: you may need to look in the java.util.concurrent package for your queue implementation, depending on the approach you take.)
    One thing to note, this last approach may be overkill depending on what you mean by "very high frequency." If you're getting 10-20 requests a second, I think you still might be able to get away with log4j in synchronized mode. It also depends on how important the ordering really is. If one request arrives 500 microseconds after the other, is it okay to reverse the ordering? If so then syncrhonized log4j may still be okay. If not, then you're going to have to write something a little more sophisticated or take a closer look at the capabilities of the real-time VM.
    Alternatively, someone who's more knowledgeable than me on the subject might be able to suggest a better approach using JMS.

  • Urgent help needed in Cube Security implementation

    I have a need in implementing security in one of the dimensions(Performance Rating) and users under different roles should be able to browse the cube as below.
    The tables information is as below
    Dimension Table
    Description
    Dim_Employee
    Employee details-ID,Name,Gender,Age
    Dim_PerformanceRating
    Performance code,Descriptioin
    Dim_Role_User
    Role and users available under each role 
    Fact Table
    PerfID,EmplyeeiD,HeadCount as measure
    If the User under HR Role browses the cube he should be able to view the details as below:
    All Employee Details , counts but performance ratings to be restricted only for the employees under his (HR) role.
    Dim-Employee
    Dim-Employee
    Dim_Perfrating
    Dim_Role_user
    Measure
    Emp ID
    Name
    Perf Rating
    Employee Type
    Emp Count
    1
    A
    VP
    1
    2
    B
    Other
    1
    3
    C
    SM
    HR
    1
    4
    D
    VP
    1
    5
    E
    HR
    1
    6
    F
    HR
    1
    7
    G
    FE
    HR
    1
    8
    H
    CE
    HR
    1
    9
    I
    DNM
    HR
    1
    10
    J
    NR
    HR
    1
    If the VP  browses  the cube he should be able to view all the details as below
    All Employee Details, counts and all the performance ratings of all the employees under him
    Dim-Employee
    Dim-Employee
    Dim_Perfrating
    Dim_Role_user
    Measure
    Emp #
    Name
    Perf Rating
    Employee Type
    Emp Count
    1
    A
    SM
    VP
    1
    2
    B
    FE
    HR
    1
    3
    C
    SM
    Other
    1
    4
    D
    CE
    VP
    1
    5
    E
    SM
    HR
    1
    6
    F
    SM
    HR
    1
    7
    G
    FE
    Other
    1
    8
    H
    CE
    Other
    1
    9
    I
    DNM
    Other
    1
    10
    J
    NR
    Other
    1

    Hi,
    You need to Implement a dynamic security. Implement a factless fact table which includes information which user is allowed to see which nodes. Create a Measuregroup for this Table "FactSecurity"
    Create a UserDimension which includes Domain\Usernames.
    Map the User Dimension and the Perfrating Dimension to the FactSecurity Measuregroup
    In the Role implement the security like this:
    EXISTS([Dim_Perfrating].[PerformanceCode].[PerformanceCode].Members, STRTOMEMBER("[Users].[DOMAIN].["+UserName+"]"), "FactSecurity")
    If needed check Visual Totals.
    Kr Jü+rgen

  • Help needed in SAP BO Implementation

    Hi,
    I am very new to SAP Business Objects.
    I have a requirement to Install SAP BO on Windows environment or HP UNIX with integration to BI 7.0. When I read certain documents over the web, I am getting
    confused with the requirement of MS SQL Server or Oracle Server for the BO installation.
    We require the following applications in SAP BO 
    BusinessObjects Edge Series XI Release 3.1
    Xcelsius Enterprise 2008
    Live Office XI Release 3.1
    Integration Kit for SAP Solutions XI Release 3.1
    iView
    Desktop Intelligence
    Web Intelligence
    Please help me in understanding the System Requirements (Server and Client), Software Requirements and the procedure of the SAP BO Installation. I have
    currently added the following SAP Media to the download basket, please mention whether the following will be sufficient or will I have to make additional
    requirements.
    BOBJ XCELSIUS ENGAGE & ENTERPRISE 2008 WINDOWS (32B) 
    BOBJ XCELSIUS PRESENT 2008 WINDOWS (32B)
    BOBJ INTEGRATION FOR SAP SOLUTIONS XI 3.1 WINDOWS
    Integration Kit License Keys
    Expecting your help.
    Thank you
    Regards,
    Vineeth Damodar

    Hello Wineth,
    you will find a lot of Informationes to theese Questions here in the Forum.
    Lets start with some Documents regarding the Requirements of Hardware and OS for your Edge installation.
    Requirements Windows:
    https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/60cdb229-d874-2b10-18ac-ed2f46873753&overridelayout=true
    Requirements HP-UX(IA64/PA-RISC):
    https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/00cfd8a7-d874-2b10-00bc-926c5793673d&overridelayout=true
    https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/10f8b3bb-d874-2b10-7588-fb62836ac37f&overridelayout=true
    Installation Documentation you will find under http://help.sap.com -> Choose "SAP BusinessObjects" -> "Choose "All Products" -> Select your Product -> Download your Guide
    Regarding your Package you can de- select the Xcelsius Engage package. You need also the EDGE Instlallation Package.
    Regards
    -Seb.

  • Help needed to create a master-detail JSP page using OAF.

    I like to create a master-detail JSP page using OAF. If any help or guide will be appreciate.
    - Kausik

    A Master Detail Page is a basically a game between two VOs(Master and Detail mostly connected through a View Link). You can also have a look at the View Link section in the Dev guide. Page Layouts is one thing which you can take a call yourself.
    Regards
    Sumit

  • Dreamweaver Template Needed - With Shopping Cart

    Hi. I'm hoping some fine folks can help me. As you can
    probably guess, I'm a bit on the "newbie" side when it comes to
    front-end development. :) I'm trying to help out my brother, who
    owns a small business. He'd like a website that would allow catalog
    navigation, online ordering, etc. I'm looking for a (hopefully
    quite) cheap template that I can modify and move to his web hosting
    company. Does anyone know of a professional, comprehensive, and
    cheap option? I've been looking at templates on
    www.ecommercetemplates.com, but I don't have any idea if they're
    reliable or if there's better options.
    I'd be so grateful for any help! :)
    Thanks!
    Steve

    John T Smith wrote:
    > Several years ago, before PayPal was as wide-spread as
    today, I used an online
    > service to write a web store for my wife
    >
    > It worked well, but there were 2 fees involved... one
    for the processing
    > service, and one for the percent to Visa (or whatever
    card) for each transaction
    >
    > After awhile, we decided to switch to PayPal to only
    have the ONE fee of the
    > transaction percentage
    >
    > As I remember, PayPal charged the same percentage, and
    no monthly fees
    >
    > You might go to PayPal and check out the store part of
    their web site (I don't
    > have the link handy) and see what they say
    fwiw, I use www.protx.com, they charge £20 per month and
    no transaction
    fee if you have less than 1000 transactions per month. They
    provide
    excellent code examples in all languages, I found it very
    easy to setup.
    to the op, you need more than just a template to create a
    store, unless
    you go down the Paypal route, but even then you need to
    program some stuff.
    Dooza

  • Help needed urgently :cannot dispatch request to JSP

    HI everyone,
    I'm having problem while calling JSP page from a servlet .
    I'm giving code below :
    import Pack.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.sql.*;
    public class CheckLogin extends HttpServlet
         public void init(ServletConfig con) throws ServletException
              super.init(con);
    public void doPost(HttpServletRequest req,HttpServletResponse res) throws ServletException, IOException
         Statement stmt;
         PreparedStatement pst;
         ResultSet rs;
         String str,insertstring,dept="",fullName="",user="";
         int flag=0;
         String txtname,txtpass,cate="";
         java.util.Date thisdate=new java.util.Date();
         HttpSession session=req.getSession(true);     
         res.setContentType("text/html");
         PrintWriter out=res.getWriter();
         txtname=req.getParameter("login");
         txtpass=req.getParameter("pass");
    Connection myCon=null;
    PreparedStatement pstmt;
              try
                        myCon=Pack.JdbcCode.Connect_mrs();
              catch(Exception ae)
                   System.out.println("Error in opening Connection   "+ae);
         try
                        stmt=myCon.createStatement();
                        rs=stmt.executeQuery("select * from Login");
                             while(rs.next())
                                       if(txtname.equals(rs.getString(1)) && txtpass.equals(rs.getString(2)))
                                            if(rs.getString(8).equals("N"))
                                                 flag=1;
                                                 dept=rs.getString(6);
                                                 fullName=rs.getString(4);
                                                 cate=rs.getString(7);
                                            else
                                                 out.println("<body BACKGROUND=\"/images/recbg.jpg\"><font face=arial color=blue> User :<font color=red size=3>"+txtname+"</font> is already Logged in to FIR System 2004</font><font size=3 color=\"red\"><p><p>Please try later...</font></body>");
                                                 flag=2;
                             out.print("<p><p>");
                             if(flag==1)
                                       if(!txtname.equals("admin"))
                                                 pst=myCon.prepareStatement("update Login set Status=? where LoginName=?");
                                                 pst.setString(2,txtname);
    //change done
                                                 pst.setString(1,"N");
    //changed to Y
                                                 int a=pst.executeUpdate();
                                       //writing to the log
                                             try
                                                 int tmp = 0;
                                                 java.io.FileWriter fileWriter = new FileWriter("C:/bea/My projects/domainone/applictaions/DefaultWebApp/log.txt",true);
                                                 fileWriter.write("\nUser:   "+txtname+"  Logged In Time  "+thisdate);
                                                 fileWriter.close();
                                               catch (IOException e)
                                                  System.out.println( "IO error:" + e );
                                                 user=txtname;
                                                 session.setAttribute("userName",user);
                                                 session.setAttribute("dept",dept);
                                                 session.setAttribute("fullName",fullName);
                                                 session.setAttribute("cat",cate);
                                                 ServletContext sc = this.getServletContext();
                                                 RequestDispatcher rd = sc.getRequestDispatcher("/DefaultWebApp/Welcome.jsp");
                                                 if (rd !=null)
                                                      try
                                                           rd.forward(req, res);
                                                       catch (Exception e)
                                                           sc.log("---------------Problem invoking JSP.------------------", e);
                             if(flag==0)
                                       out.println("<body BACKGROUND=\"/images/recbg.jpg\"><font face=arial color=red>Wrong user name or Password <P></font><font face=arial color=red size=4>     Access Denied</font>");
                                       out.println("<p><p><font face=arial color=blue><p> <a href=\"/DefaultWebApp/login.jsp\">Login Again</a></font></body>");
                   catch(Exception e)
                        System.out.println("---------------------------Exception-------------------------------");
                        e.printStackTrace();
    }I'm not getting any errors.
    My server is weblogic, hence my JSP code is present in DefaultWebApp and java code in DDefaultWebApp/WEB-INF.
    Please tell me something .
    Thanx in advance.

    I tried what you told AnanSmriti.
    But still Server cannot find the page .
    I have saved JSP pages in DefaultWebApp and Java class files in WEB-INF /classes under DefaultWebApp dir.
    Also I have given the same URl in web.xml as in my first page.
    Please tell me where am I going wrong.
    Thanx in advance for any help.

  • Help needed - HP Bladesystem architecture implementation

    Hi, I'm about to build an infrasctructure which will support an Oracle VM environment.
    First step will include:
    - 1 enclosure (c3000)
    - 1 blade (hp bl460c) with Qlogic FC HBA
    - Ethernet switch for c-class bladesystem module for blade connectivity (hp GBe2C)
    - Optical FC Switch for c-class bladesystem module (brocade switch SAN 4/12 AE370A)
    - FC Storage (HP MSA 2012FC)
    In the first phase, the devices will not be redundant. This will be just for effective functionality test of Oracle VM Server environment, and for workload test on a single Blade.
    Phase 2 will include adding a second blade server to test HA and VM guests migration.
    Now, THE QUESTION:
    Given that I'm trying to save as much money as possible on phase 1, I was thinking to use (as described before) JUST ONE BLADE for VM Server. And I was planning to use a cheap, classic, small tower server for VM Manager (the console for the environment) EXTERNAL TO THE BLADESYSTEM ENCLOSURE.
    IS THIS POSSIBLE? I mean. Will I be able to have connectivity to the blade inside the enclosure? I'm new to bladesystems, never seen one before, but it seems to me that there are some limitations for connectivity outside the enclosure, even if I will have the HP GBE2C switch on the backplane of the enclosure itself.
    Additional info: The blade server, apart the FC HBA, will have 2 gigabit eth cards. I was thinking to use one of those 2 to be shared by the VM Guest Machines, and the second interface would be dedicated to connectivity toward the VM Manager Machine.
    I really hope to get an opinion from somebody who has been actually working on these architectures. In the end, what I need to know, is if I can initially use an external server for hosting VM Manager or if I need to buy a second blade server right away.
    Thank you very much.

    Hi Eike, thank you for adding your valuable feedback. Just keep in mind that FOR NOW, I don't have anything ready, so I don't have direct experience, but it' very good for me to hear that you are profitably using an architecture that is very close to what I have in mind (given that in max 2 weeks I'm going to buy the hardware).
    In a matter of fact, what I want to achieve is to have maximum flexibility and minimum costs. And, everything you wrote makes sense to me (to answer your first question).
    To answer your second question, I noticed what could be a slight difference with what I want to put up. Actually, I want to set up DISKLESS blade server(s), and implement SAN boot, straight from the FC storage. So, each blade will see 2 LUNs, there will be one LUN dedicated to each blade, and will contain Oracle VM Server installation. Then a second LUN, bigger, OCFS2 formatted, that will be shared across ALL the blades, to allow guest machines HA, live migration, etc.
    I'm thinking of putting everything on the storage, because I believe that in the end I'll be able to save money on local disks, and also it'll be easier to calculate the right amount of space to dedicate to each VM server installation, maximizing resource usage. I think it'll be much easier to manage too, because taking advantage of the snapshot/cloning features of the storage device, full backups of ALL the machines will be included, very quick and easy, at least in my mind.
    Then you highlighted another point, but regarding this particular thing I think you took the best decision... I'm talking about the 2 eth ports. I didn't know that you could use this BOND0 logical device... To improve availability and to balance network traffic too. So, I think I'm going to study this possibility when it'll be time to implement something "real". Until yesterday, what I was thinking i would do, would have been to use one of the network cards to be shard across the virtual guest machines, and to use the other card to "communicate" with the VM manager console (the external server). But I did believe that VM manager console actually NEEDED to have a dedicated network card (don't ask me why, just an idea that I made up without any real foundations).
    Finally, the external VM manager server. In the beginning (phase 1 of my project), JUST TO SAVE MONEY, I'm planning to re-use a spare server. But if we go in production, I think that in the end I will dedicate another diskless blade server just for VM cosole. Backups will be included in the scheduled snapshots/cloning of the storage, maximizing flexibility and safety, at least in my personal opinion. As for saving money using an already existing DB as repository, I think I'll use Oracle XE on this machine (it is free, and Oracle itself recommends it as a very good solution to store VM manager repository).
    What do you think?
    Looking forward to your feedback,
    Thank you
    Roberto
    Edited by: rlomba on 8-feb-2009 15.02

  • Help needed on understanding Application Implementation

    I would like to study and document actual implementation steps to implement Oracle Applications, but cannot find any material or courses to help me.
    For example:
    Conduct client interview to gather business rules
    Translate Business rules to Business flow diagrams leading to data flow diagrams
    Prepare gap documents
    Perform Business Process Re-engineering
    etc
    Any help will be appreciated

    There is an approach called AIM (Application Implementation Method) which you can refer. Details can be found from net or from Metalink.
    See if that helps.
    Regards
    Sumit

  • Some help needed for shopping calculator program

    Hi. I would like to thank you in advance for helping me. At the moment I am pretty much stuck. I don't know how to add the input using 'while loop'. This is what I'm suppose to do:
    Write a program called ShoppingCalculator.java that allows the user to enter the prices of several items they have bought and then tells them the total amount. The user can enter the prices for as many items as they want, until they click Cancel. The program should then output the total amount they spent, in a message dialog box. Use pounds for all the amounts.
    So far I have written:
    import javax.swing.JOptionPane;
    public class ShoppingCalculator
        public static void main(String[] args)
                boolean done = false;
                double amount;
                String input;
                while (!done)
                        input = JOptionPane.showInputDialog("Enter the amount you spent on the next item:");
                        amount = Double.parseDouble (input);
                if (done = true)
                        JOptionPane.showMessageDialog (null, "You spent a total amound of £" + amount  );
    }Sorry if the code doesn't make much sense cause I've been changing the code around so many times that.
    At one point when I was playing around with the code, I manage to make the input dialog loop nicely but when I pressed cancel, the message dialog only output the last input I put in. What I'm really stuck here is I need to know how to add the input when using 'while loop' and is it correct to use the IF Statement on this program. Please give me some advice on how to and I will try to work on it again.

    Ok. I have edit the code and this is what it looks like:
    import javax.swing.JOptionPane;
    public class ShoppingCalculator
        public static void main(String[] args)
                boolean done = false;
                double amount;
                String input;
                double total = 0;
                while (!done)
                        input = JOptionPane.showInputDialog("Enter the amount you spent on the next item:");
                        amount = Double.parseDouble (input);
                            if (input == null)
                                        total = total + amount;
                                        JOptionPane.showMessageDialog (null, "You spent a total amound of " + total  );
    }I created another variable (total) and it even compiled. The only problem I have now is the message dialog wouldn't show at the end. When I press cancel and nothing happen. This is what I get on my output command window:
    Exception in thread "main" java.lang.NullPointerException
    at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:991)
    at java.lang.Double.parseDouble(Double.java:510)
    at ShoppingCalculator.main(ShoppingCalculator.java:23)
    Java Result: 1
    Anything that isn't right here?

  • Do i need a shopping cart programme to accept payments

    I am trying to set up a business using dreamweaver i have
    created the site but do not know
    how to accpet payments can someone tell me the steps to doing
    this?
    thanks

    mrpoochini160186 wrote:
    > I am trying to set up a business using dreamweaver i
    have created the site but do not know
    > how to accpet payments can someone tell me the steps to
    doing this?
    >
    > thanks
    First step is to setup a merchant bank account, then sign up
    to a credit
    card processing service, then buy and setup an ssl
    certificate, then
    code the pages necessary to accept payment. If this sounds
    like a lot of
    work, pay someone experienced to do it for you.
    Dooza
    Posting Guidelines
    http://www.adobe.com/support/forums/guidelines.html
    How To Ask Smart Questions
    http://www.catb.org/esr/faqs/smart-questions.html

Maybe you are looking for

  • TS2776 How to switch wifi on and the wifi address N/A?

    How to switch wifi on and the wifi address N/A iPhone 4s?

  • Wrong SQL (WHERE Clause) with Generic DS based on Wiew

    Hi to all of you, we have a problem that happens sometimes (it seems to have a random behaviour). Generic Extractors based on Views sometimes are interpreted on R/3 ORACLE without considering Selection Conditions imposed in InfoPackages (that are in

  • Accessibility pages?

    How to make this??? Please?

  • Can't save to .mp3!

    Hello All, I just got a new machine with a quad core processor. I installed 3.0 and it has not acted right since. When I save files the cursor is in a wierd place. I CAN'T save .mp3. It comes out as .wav (and a funky .wav at that) In the save as drop

  • Build in a table by column cell?

    Is is possible to create a slide build with a table, where you start with Cell 1A, then next the cell directly below that (2A), then the one below that (3A), then back up to the second colume (1B), then 2B, then 3B, and so on? None of the options I'm