Please help me to decide the best deign for my web app

I'm quite new to j2EE developement.
Currently im working on a web based user management application ( a small scale one ).
For that im hoping to use JSP s for presentaion tier and EJBs for business logic. This business logic seems to be having more on database accessing. Im not using Entity Beans for data access , but hope to use Session Beans.
Is it ok if i develop according to this model , or is it better to use Entity Beans for data acccess ?
Is it a bad design to use Session Beans for data accessing ?
Or else , what if i avoid EJB s completely and database access is done via JSP itself ?
Or i have another option , that is , using JSP for the presentation layer and Servlets for database accessing.
what is the preferred way ? How i can decide a better way ?
I very much appreciate your kind support on this.
Thanks and Regards
Saj

saj123 wrote:
I'm quite new to j2EE developement.
Currently im working on a web based user management application ( a small scale one ).
For that im hoping to use JSP s for presentaion tier and EJBs for business logic. This business logic seems to be having more on database accessing. Im not using Entity Beans for data access , but hope to use Session Beans.Why EJBs? POJOs will work just fine.
>
Is it ok if i develop according to this model , or is it better to use Entity Beans for data acccess ?Neither. Use POJOs. What are EJBs buying you?
Is it a bad design to use Session Beans for data accessing ?Why?
Or else , what if i avoid EJB s completely and database access is done via JSP itself ?Ouch, no. JSPs are for presentation only.
Or i have another option , that is , using JSP for the presentation layer and Servlets for database accessing.Wrong again.
what is the preferred way ? How i can decide a better way ?Learn how to layer an app properly. Learn Spring. http://www.springframework.org
%

Similar Messages

  • Could any one please help me to select the best case for my iPhone 6plus gold?

    HI All!
    Could someone please tell me which is the best case for my new iPhone 6 plus gold. I do not want to lose the beauty of the gold back finish of my 6 plus.
    THanks and Regards
    Aneesh

    Hello, I just bought the same phone and didn't want a hard case so I ordered this case from Amaon.
    ZVE® Full-body Protection Case,iPhone 6 Plus Case, [iphone6 plus wallet Case] Apple iPhone 6 Plus Case 5.5 Inch [Slim] Leather Wallet Cover with S
    Sold by: Zwallet

  • What's the best way for a web app to handle logins and sessions?

    I'm deploying in JBoss, using JSF. As is often the case, I keep User information in an entity bean. My question is, what's the best way to handle this bean?
    My inclination is to create a login page with a LoginBackingBean atached to it. When the user attempts to log in, it will see if there is a User entity bean that corresponds to the given name and password. If there is no User bean that matches, obviously we show an informative error screen.
    But what happens if there is a valid user?
    In the plain old Servlet world (without EJB / J2EE) I would just put the User object (it's an object, not an EJB) into the HttpSession, and I would create a Filter that would check for the presence of that User object, and I would map the filter to something like /members/*, and that would be it. I would use Hibernate to persist the User object, and there would also be a filter that creates a Hibernate session and stores it in the Request so that the User object would work and persist.
    How do I do this within the J2EE / EJB world?
    My first thought would be to just do the same thing. Install the User bean into the HttpSession, and create a filter and do all the same stuff. Is that the right way to do it? It would work pretty well with JSF because I could just access things in the normal JSF way: #{user.firstName} would find the "user" object in the HttpSession scope. So that's good.
    One question that comes up from that is if the user makes some change to the User object that is in the Session scope, will the EJB automatically do the right thing and make those changes persistent? Is there anything else I need to do?
    I'm new to the EJB world, but from what I can see so far, it seems like it's the best way to think about a web application.
    Thanks

    hi ,
    i think the best way is to create java beans ,in that bean call your EJB ,
    and check the validation over there.
    and make that bean scope to session.
    in each and everypage try to check the session ,if it is not valid then forward to your login page...
    otherwise continue to give access to him like guest
    Regards,
    AfTaB

  • Can anyone help me with getting the best setting for me system

    can anyone help me with getting the best setting for me system on cpufan it says my temp is 38c but on corecentre it says 42c can anyone help get my system overclocked any more but keeping it stable as well thanx in advance for the help  

    my corecenter temp sometimes says im at 60 cel at idle....and i have the most recent update...i would rely on speedfan for temp control...core center seems to always read 3 degrees higher than speedfan on my pc....
    i wouldnt be too concerned...those temps are pretty low to begin with.

  • Please help me ,i forgot the synchronising password for my mac pro lion backup disk

    please help me ,i forgot the synchronising password for my mac pro lion backup disk

    If the backup volume is encrypted, and you forgot the password, then you'll have to erase the volume and start a new backup. There's no way to recover the password.

  • Please help me with selecting the right institute for me

    HI All,
    Please help me which institute I should select for my SAP SD training?
    ONE INSTITUTE COVERING THE FOLLOWING TOPICS:
    Sales overview
    Enterprise structure related to SD
    Master data, like Customer master data, material master data, condition master data and Output master data.
    Partner determination
    Sales document types
    Item categories
    Schedule line categories
    Pricing: Condition table, access sequence, Condition type, pricing procedure
    Stock Posting
    Free goods
    Bills of Material
    Material determination
    Material Listing and Exclusion
    Incompletion logs
    Revenue account determination
    Credit management
    Outline agreements like quantity contract, value contract and scheduling agreements
    Shipping process like Shipping point determination, Route determination, Shipping conditions picking ,PGI
    Delivery types
    Delivery item categories
    Invoice process
    Billing types
    Special sales processes like cash sales, rush orders ,consignment process and Third party process
    Return sales process
    Credit memo process
    Debit memo process
    Availability check
    Rebate processing
    Intercompany sales
    Output determination
    Copy control
    Integration with MM,FI
    Technical topics like ABAP tables, user exits and IDOC’s
    Real time scenario’s
                   OR
    OTHER INSTITUTE COVERING THE FOLLOWING TOPICS:
    1. Introduction to Supply chain management
    2. Introduction to SAP ERP package
    3. Introduction to ASAP implementation methodology
    4. Lecture Demo on Basic navigation skills in SAP R/3
    5. SAP landscape. Tips and tricks
    6. Introduction to Enterprise structure in SD
    7. Overview of Material master records
    8. Demo on ROH, HAL and FERT creation
    9. Hands on exercise on creation of material mastesr records in SAP
    10. Introduction to SD master data (Business partners, conditions and outputs)
    11. Introduction to order processing and Demo
    12. Hands on exercises on sales order processing
    13. Introduction to delivery process, picking and post goods issue process
    14. Introduction to stock transport orders and inter-company stock transport Orders
    15. Exercises on delivery with respect to sales orders
    16. Introduction to billing process (Customer billing, Inter-company, Proforma, Credit memo and Debit memo)
    17. Introduction pricing procedure, condition records, condition tables and access sequence.
    18. Configuration on SD sales order types, delivery and billing
    19. Warehouse management overview
    20. Introduction to SAP WM configuration
    21. Demo by instructor on configuration
    22. Develop configuration scripts
    23. Introduction to develop BPP
    24. Hands on exercises to students
    25. Introduction to WM master data
    26. Introduction to transaction data in WM
    27. Hands on exercises on creation of master data elements in WM
    28. Hands on exercises to students on WM transaction data
    29. Introduction to CTS process (SE10, SCC1)
    30. Demo on WM business scenarios and integration points
    31. Introduction to develop integration test scenarios. Develop test scripts
    32. Introduction to OSS notes and SAP Help
    33. Introduction to EAI tools, FID, RF Gun, MDE, SAP console and hand held devices
    34. Introduction to SAP bold on tools (SRM, CRM, BW, SEM, GTS, CIC, FSCM, DP, SNP, PP/DS, GATP, CIF and Plug in)
    35. Introduction to quick reference guides, cheat sheet, FAQ, work instructions, job aides, transaction aides, work instructions and change management
    36.Interface between SD & FI
    37.C forms, H forms
    38.Excise Related Invoices
    39.CIN configuration (taxes)
    40. Debugging with help of ABAP Tool
    41.Excise Returns Process with pricing details
    42.Order, Delivery, Billing, exicise, Output types configuration

    You should talk to various institute.

  • Please  Help me How write the BDC program for the MIGO inbound Delivery

    Please help me how to write bdc program for the MIGO Inbound Delivery in 4.7EE Version. Please help me.
    Not in LSMW.  Required call transaction or Session Method. Please help me.
    Mohan

    Run transaction BAPI . Select Logistics Execution/Shipping/InboundDelivery/SaveReplica.. You can use function module BAPI_INB_DELIVERY_SAVEREPLICA in your ABAP program.

  • What is the best practice for developing web service?

    Hi All,
    I'm a newbee to web services...
    I was wondering what would be the best approach in developing a web service,
    using tools or programmatic approach?
    If I use WebLogic Workshop, am I tied to a vendor?
    Is it possible for me to develop web services using workshop and deploy in
    another app server..?
    I would appreciate if somebody could give me a pointer to start.
    I have already referred BEA's docs.
    I'm still confused on a good starting point on the best approach to develop
    protable web services.
    Thanks in advance for any inputs.
    K K

    K K-
    You have a very valid point on the simplify or complicate matters. If you are
    going for clean and not-so-time-centric code, then there are several different
    programs and packages out there you can choose from.
    Since you are specialized in J2EE, than the Sun package may be what you are looking
    for. BEA's classes simplify much of the work you will be doing, but you could
    emulate their classes or extend yours above the functions provided in theirs.
    It all boils down to how much work are you willing to do.
    If you are asking for more detailed, coding 'Design Patterns' to utilize, I would
    wait for a few more posts from other folks as my work often requires me to utilize
    the tools provided.
    Sincerely,
    Eric Ballou
    "K K" <[email protected]> wrote:
    Eric,
    Thanks for the response.
    I was also looking at Sun's WSDP 1.1, which is more programmatic approach.
    Some how, I feel being a J2EE developer, I should go on the direction
    of the
    programmatic approach.
    Using the tools could simplify or complicate things. Also, the Workshop
    samples import all weblogic specific packages.
    My code looks so dirty with many vendor specific packages being imported.
    Could you give me your suggestions for a clean and neat approach?
    I would personally prefer to avoid the quick and dirty approach.
    Thanks again.
    "Eric Ballou" <[email protected]> wrote in message
    news:[email protected]...
    K K-
    The best approach in developing portable web services is knowing whatyou
    are
    planning on using them for as well as how much is willing to be spent,etc.
    BEA's Workshop is portable to other frameworks, but the ease ofintegrating a
    developed client or a developed server can very greatly. Even moreof an
    issue
    is migration from one framework to another. If you choose to developin
    Workshop
    and your company later deploys .Net solutions, some of your work mayhave
    to be
    redone unless the company is willing to keep portions of the 'old'system
    around
    until new versions of the service are available. However, Workshophas
    several
    ant tools available that would assist you in deploying to other appservers or
    even a stand-alone application should you need cross framework abilities.
    If you are just starting out in web services, http://www.webservices.org
    is a
    good place to start checking out vendors in the space.
    Sincerely,
    Eric Ballou
    "K K" <[email protected]> wrote:
    Hi All,
    I'm a newbee to web services...
    I was wondering what would be the best approach in developing a web
    service,
    using tools or programmatic approach?
    If I use WebLogic Workshop, am I tied to a vendor?
    Is it possible for me to develop web services using workshop and deploy
    in
    another app server..?
    I would appreciate if somebody could give me a pointer to start.
    I have already referred BEA's docs.
    I'm still confused on a good starting point on the best approach todevelop
    protable web services.
    Thanks in advance for any inputs.
    K K

  • Please Help me to Choose the best config to run forms on web

    Hi,
    I have started upgrading my application from Dev2000 1.3 to Dev2000 6i in order to deploy on web. I have few questions to ask
    1. I need to know which config is the best & fast to run my applications out of
         1. Applet
         2. IE50Native
         3. JInitiator
    2. For testing I have configured forms server in socket mode. When I am using JInitiator even after exiting the application from test terminal, "ifweb60.exe" process initiated due to this session remains running. It takes long time when I try to initiate the same application for second time. This problem is not frequent, but this has happened 4 times while testing. Could this be due to Pentium4.
    Thanks in advance
    Syed

    saj123 wrote:
    I'm quite new to j2EE developement.
    Currently im working on a web based user management application ( a small scale one ).
    For that im hoping to use JSP s for presentaion tier and EJBs for business logic. This business logic seems to be having more on database accessing. Im not using Entity Beans for data access , but hope to use Session Beans.Why EJBs? POJOs will work just fine.
    >
    Is it ok if i develop according to this model , or is it better to use Entity Beans for data acccess ?Neither. Use POJOs. What are EJBs buying you?
    Is it a bad design to use Session Beans for data accessing ?Why?
    Or else , what if i avoid EJB s completely and database access is done via JSP itself ?Ouch, no. JSPs are for presentation only.
    Or i have another option , that is , using JSP for the presentation layer and Servlets for database accessing.Wrong again.
    what is the preferred way ? How i can decide a better way ?Learn how to layer an app properly. Learn Spring. http://www.springframework.org
    %

  • Please help me in setting the Mobile server for mobile filed services

    hi,
    We want to set the oracle mobile server, Oracle mobile filed service, can any body help out what are the mandatory setups and flow of the setup.
    Can you also let me know the list of patch and requried services information too.
    Thanks & Regard
    Abdul Hafeez Shaik

    Thank you Kevin,
    I have already gone through this document.
    My actual problem is like, After starting the Mobile server when I tried to run this url <url:/portnumber>/webtogo/setup Am getting the webpage with junk values.
    What other patch's or what other setups we need to do to have the functionality like when ever we run the above given url it will install the client side software (webtogo + oracle lite database)
    Please if you can give me the quick setups which we need to do that would be help full to us.
    Best Regards
    Abdul Hafeez Shaik

  • Please help me setup us the PPP dialup for OS 8.0

    I have not the ability to conduct my own research, for all my methods have failed and I am stranded with no internet at my home.
    I have the OS 8.0 as my system of operation. My Control Panel doesn't have the PPP option, as many websites have described. I do not know what to do and feel like a helpless baby. Please help, I'm running out of lollertears!
    I just need to know where to enter the access number and user name and password that my ISP has provided me.
    Thank you and may the Rofl of Bethlehem live inside you all.
    The Roflator of Lollerz   Mac OS 8.6 or Earlier   Roflastic

    Michael
    I've checked my old PPC 7600.
    I didn't find PPP either-but found it in the TCO/IP help under
    connecting via modem(I'M using a router in a network,use DHCP server and remote access):
    You have to
    1)configure the modem
    2)Use remote access
    In the help menu for TCP/IP the PPP-Server is mentioned!
    May be you have got the Internet Connection Kit-I used it to get to internet(only remote acess worked!).
    Good luck

  • Please help, how to guide the user to deploy a web application easily.

    hello,
    i have created an application which creates a new web application every time it is run. now i am writing the documentation of it and dont know which web server the client may have so i have to write / show to the user general steps that he should follow to deploy the web application after it has been created.
    i have written that the user should deploy the web app by making the following entry into the server.xml file (for tomcat)
    <Context path="/webappname" docBase="webapppath"></Context>
    it is not compulsary that the user should place the web application in the webapps directory of the server hence the above webapppath is used.
    now i want to indicate to him where and before / after which tag and under which host name etc the above line should be added in a manner that he is able to do it properly.
    please anyone can help me how to do it.

    i would like to know if there is any way without Java web start.
    it has to be set manually.
    i.e every user should make this entry in the server.xml so that the context is set.

  • Need help!!!! Best solution for a web application to customize teamsport apparel online

    Help!!!!
    Hi I am a web designer at beginners stage with web
    devlopment. I am seeking guidance on how to develop a customized
    interactive web application so that the end user can change color
    and patterns of apparel on vector images such as teamsports
    uniforms and tshirts. Once the design is customized to their liking
    they can save it with all of the spec information in a file to
    there desktop or to a database to send to the manufacturer.
    Also looking for a possible way to use a CMS so I can upload
    templates of the garment easily for the end user to customize
    online. Can this be done and if so how? This is an example the kind
    of application I am looking for:
    http://www.dynamicteamsports.com/elite/placeorder.jsp
    I am in desperate need of some brilliant developer to help
    with this.
    Thanks in advance for anyone who is willing to assist or give
    me guidance,
    Danka
    "Reap what you sew"

    Something like what you are attempting is not simple.
    Flash, Flex would be ideal for creating the UI and
    manipulating the vectors.

  • Need best-practice for Kodo web apps

    Please forgive this question from a JDO newbie if it is already answered
    elsewhere (if so please let me know, I can't find it)...
    We are building an enterprise application consisting of multiple
    cooperating web-apps, one servlet per web app. Following the classic MVC
    pattern (using Struts) we have the servlets operating as controllers that
    concurrently field requests from multiple users. In response to each
    concurrent request the servlets instantiate the corresponding command
    instances to process the requests. The command objects then interact with
    a common shared model implemented as a collection of persistent "model"
    objects and business rules. Finally, the commands then create java beans
    that are sent to JSPs for display to the users.
    No problem thus far - we have successfully used Kodo to implement the
    architecture described above. To date we have used a single persistance
    manager (PM) that is global to the servlets, existing as long as the
    application is running. Although this works, I believe that it won't
    scale for concurrent access by multiple users (correct me if I am wrong)
    since a PM has one and only one database connection. Our concern however
    is regarding persistance managers verses multiple user concurrent access
    to the common model (i.e., one user can update information which is then
    displayed to all other users).
    I believe the answer is in using multiple PMs, but how should the PMs be
    allocated? One per user stored in the user's session? If so, how do
    multiple users share access to the same model instances? My mental model
    is that a PM is like a "sandbox" - objects in one sandbox cannot see
    objects existing in another PM's "sandbox". Is that true?
    I know this is a long winded question. I was hoping to provide enough
    context so someone could suggest a PM utilization that scales well for
    applications like ours.
    Any help/suggestions is GREATLY appreciated!
    Steve

    You can transportable tablespace for the database tier node.
    https://blogs.oracle.com/stevenChan/entry/10gr2_xtts_ebs11i
    https://blogs.oracle.com/stevenChan/entry/call_for_xtts_eap_participants
    For the application tier node, please see:
    https://blogs.oracle.com/stevenChan/entry/migrate_ebs_apptiers_linux
    https://blogs.oracle.com/stevenChan/entry/migrating_oracle_applications_to_new_platforms
    Thanks,
    Hussein

  • Please help me to find the drivers/software for SB Surround

    Hi all!
    Does anyone know how to find the drivers fo the SB Surround 5. external sound card?
    Since the HW looks quite similiar to the LIVE 24bit external I tried to install the drivers for it but they didnt work.
    I can not find the SB Surround 5. card in the auto update section.
    Thanks in advance/Bartek

    Here is the link
    http://support.creative.com/downloads/download.aspx?nDownloadId=0588
    The driver suite gives you all the software, plus the newest driver.
    Unfortunately, creative still hasnt listened to us and has not given us DDL. There was no real need to waste 60 bucks on this thing, if all it does is increase sound quality a tiny amount. When I saw the device I, along with many other customers, came to believe that it would allow for surround sound music. However, the device only outputs media that is already in surround sound, as 5. . I have tried AC3 filter, kx driver (wont work) , rednoreck (no asio) , and tons of random plugins for winamp. I have no idea how to get stereo upmixed to 5. with the spdif out on this card. I am going nuts because of this. If anyone knows how to do that please let me know !?

Maybe you are looking for

  • Web Service from RFC function module

    Hi all, I'm searching for a way to create web services from RFC-enabled function modules. I know there is a wizard, but it's not suitable for my problem: I have around 30 function modules (number raising in near future) I want to enable for web servi

  • All my appointments in Outlook 2010 have disappeared.

    They're on my iPhone 5 and iPad 4 but won't even sync to Outlook - I have everything on iCloud.  Started out of the blue about 5 weeks ago, mid-March 2014. With the contiuous little problems and now this MUCH BIGGER problem (for which there is no app

  • I keep getting redirected to advertising sites that I did not clicki....How do I fix this

    I use the latest FF browser and yesterday when I would try to go to a site I wanted to see, I would be redirected to an advertising site... Usually it happens from a google search but not always.... I ran the Microsoft Security software, but it did n

  • Monitor rotated 90 degrees: Can no longer set resolution?

    I have a Mac Mini (mid-2011 version; server hardware edition) that I just upgraded to Mavericks from 10.8.  The mini has two monitors attached: an HP ZR30w via mini DisplayPort (plugged into the Thunderbolt port on the Mac) in a portrait configuratio

  • E63 wifi problem.

    after updating to the latest firmware , i have problem using wifi to login to windows live messenger that is installed. after prompting me to select my AP, the connection drops. strangely when i use it to surf the net its working.. is this a known is