Results 1 to 4 of 4
  1. #1
    metazone is offline Member
    Join Date
    Feb 2011
    Posts
    3
    Rep Power
    0

    Default Access to app server db connection pool

    For an application that uses JSP w/ glassfish app server with a multi-tiered s/w architecture that has a business logic layer and a data access layer (db access) used by the business logic layer (the business logic and data access logic are java classes in a separate Jar file that's used by the JSP), how does the data access layer get access to the connection pool created by the glassfish app server? I'm wondering how this would be done when using plain old JDBC (and then I'll research how it's done for both hibernate and JPA).


    NOTE: I'm currently having the JSP layer pass down the connection to my business logic object (which passes it to my Data Access logic object) -- not a good thing, of course.

    Thanks,
    Last edited by metazone; 03-25-2011 at 03:21 PM. Reason: Add additional clarification

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,422
    Rep Power
    20

    Default

    You didn't bother to get back to the last thread you started.
    FrameView doesn't show new JPanel until I resize

    Why should we expect anything different this time round?

    db

  3. #3
    metazone is offline Member
    Join Date
    Feb 2011
    Posts
    3
    Rep Power
    0

    Default

    Darryl --

    Thanks for reminding me about my breach of protocol. I'll consider the content of your post and ensure compliance. Note that I'd suggest a different approach to providing this information. It's ok to be angry and express yourself but you might find it helpful to express it in a different way because, believe me, it goes a long way for promoting good relationships (work and otherwise). Over the years, I've had to mentor some senior members in my teams because they had adopted the unfortunately common 'cantankerous tech' personality based on a leveraging of their skill set. It took a while but in the end things worked for the better. Again, thank you for your reminder of my mistake; we need the frankness but, again, it could be presented better.

    M-

  4. #4
    RogerNYC is offline Member
    Join Date
    Mar 2011
    Posts
    1
    Rep Power
    0

    Default

    Metazone -

    I've used these forums many times for information but never posted or became a member until today when I read your well-considered response to a very unhelpful and unprofessional response to your original post. I wanted to say that I appreciate the level of professionalism and intelligence that you exhibited. Unfortunately, these boards tolerate these displays of sophomorism and immaturity. Let's hope that your post helps those like Darryl to step up to the plate with the intelligence and maturity we need. As a technical director at a wall street financial company, I don't tolerate his kind of unprofessional conduct. I've had to let go people who had his dynamics after warning them and then seeing that they were unable to function at the higher level required for our environment - a level that requires strong intellect, skills, and a keen understanding of human dynamics for team responsibility.

    Roger --

Similar Threads

  1. Replies: 2
    Last Post: 12-15-2010, 07:11 AM
  2. using snaq.db for connection pool
    By Li Xiao in forum JDBC
    Replies: 1
    Last Post: 08-08-2010, 11:28 AM
  3. Replies: 2
    Last Post: 06-07-2010, 12:33 PM
  4. Using Database connection pool
    By amsagara in forum Advanced Java
    Replies: 0
    Last Post: 08-11-2009, 01:44 PM
  5. connection pool for db2
    By paty in forum JDBC
    Replies: 1
    Last Post: 08-06-2007, 03:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •