JSP best practices, tips?

let me know few tips and best practices on java server pages.. as i am working on jsp project

JSP Best Practices.
More JSP Best Practices
But the most important Best Practice has already been given in this thread: use JSP pages for presentation only.

Similar Messages

  • JSP Best Practices and Oracle Report

    Hello,
    I am writing an application that obtains information from the user using a JSP/HTML form and then submitted to a database, the JSP page is setup using JSP Best Practices in which the SQL statments, database connectivity information, and most of the Java source code in a java bean/java class. I want to use Oracle Reports to call this bean, and generate a JSP page displaying the information the user requested from the database. Would you please offer me guidance for setting this up.
    Thank you,
    Michelle

    JSP Best Practices.
    More JSP Best Practices
    But the most important Best Practice has already been given in this thread: use JSP pages for presentation only.

  • Best Practice tips for publishing Captivate 8 project?

    Does anyone have any Best Practice Tips for publishing Captivate 8 projects?  Is HTML5/Flash the most universal?
    We will begin testing/training before our LMS is functional. 
    We have no shared network capability or SharePoint type platform.  Project is too large for e-mail even when zipped.
    I am thinking that we will have to use thumb drive/CD along those lines.

    Hi  There , 
    Please  refer to  the  below  links  :-
    Adobe Captivate Help | Preview and publish Responsive projects
    Adobe Captivate Help | Publish projects as HTML5 files
    Adobe Captivate * Publishing Projects
    Regards , 
    Ajit 

  • SAP SCM and SAP APO: Best practices, tips and recommendations

    Hi,
    I have been gathering useful information about SAP SCM and SAP APO (e.g., advanced supply chain planning, master data and transaction data for advanced planning, demand planning, cross-plant planning, production planning and detailed scheduling, deployment, global available-to-promise (global ATP), CIF (core interface), SAP APO DP planning tools (macros, statistical forecasting, lifecycle planning, data realignment, data upload into the planning area, mass processing u2013 background jobs, process chains, aggregation and disaggregation), and PP/DS heuristics for production planning).
    I am especially interested about best practices, tips and recommendations for using and developing SAP SCM and SAP APO. For example, [CIF Tips and Tricks Version 3.1.1|https://service.sap.com/form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700006480652001E] and [CIF Tips and Tricks Version 4.0|https://service.sap.com/form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000596412005E] contain pretty useful knowledge about CIF.
    If you know any useful best practices, tips and recommendations for using and developing SAP SCM and SAP APO, I would appreciate if you could share those assets with me.
    Thanks in advance of your help.
    Regards,
    Jarmo Tuominen

    Hi Jarmo,
    Apart from what DB has suggested. you should give a good reading on the following.
    -Consulting Notes (use the application component filters in search notes)
    -Collective Notes (similar to the one above)
    -Release Notes
    -Release Restrictions
    -If $$ permit subscribe to www.scmexpertonline.com. Good perspective on concepts around SAP SCM.
    -There are a couple of blogs (e.g. www.apolemia.com) .. but all lack breadth.. some topics in depth.
    -"Articles" section on this site (not all are classified well.. see in ECCops, mfg, SCM, Logistics etc)
    -Serivce.sap.com- check the solution details overview in knowledge exchange tab. There are product presentations and collaterals for every release. Good breadth but no depth.
    -Building Blocks - available for all application areas. This is limited to vanilla configuration of just making a process work and nothing more than that.
    -Get the book "Sales and Operations Planning with SAP APO" by SAP Press. Its got plenty of  easy to follow stuff, good perspective and lots of screen shots to make life easier.
    -help.sap.com the last thing that most refer after all "handy" options (incl. this forum) are exhausted. Nevertheless, this is the superset of all "secondary" documents. But the maze of hyperlinks that start at APO might lead you to something like xml schema.
    Key Tip: Appreciate that SAP SCM is largely driven by connected execution systems (SAP ECC/ERP). So the best place to start with should be a good overview of ERP OPS solution overview, at least at the significant level of depth.). Check this document at sdn wiki "ERP ops architecture overview".
    I have some good collection of documents though many i havent read myself. If you need them let me know.
    Regards,
    Loknath

  • Captivate 4.0 - Need best practice tips on panning, templates, resolution, etc.

    Hi all,
    Been searching all over in case someone has already published Best Practices for Captivate 4.0 (particularly the new/enhanced features), but coming up empty. My client's in house graphics person has been tasked with creating a template for us to use for a number of software simulations. He's running in to these challenges:
    - Our SWF needs to be 800 x 600 and he created the template for this size, but the app won't fit.
    - He's found the panning feature to produce very choppy, disappointing results. Tips?
    - His suggestion is we capture at 1024 x 768, then resize to 800 x 600, then copy/paste the slides into his 800 x 600 template. Would we be better off recreating the template at 1024 x 768 and not resizing until the final output is generated for each tutorial? His concern is that our template will then become larger, making it harder for us to send back and forth as changes are made, etc.
    Any other suggestions for how to deal with the resolution issue, how best to take advantage of templates, etc.?
    Thanks,
    Katie Carver
    Senior Technical Writer
    Docs-to-You, LLC

    Hi there
    In my own opinion, Panning is a nice attempt, but just doesn't cut the mustard. It's nowhere near as good as the panning one sees with Camtasia Studio.
    I might suggest combining Camtasia with Captivate for the ultimate development set. There are aspects Captivate shines in when compared with Camtasia, and there are aspects Camtasia shines in when compared with Captivate. So I say if you can afford it, go for it!
    Now I know that both packages are sort of pricey and not everyone can afford both. In that case you might want to try Jing, which is free to use. I've not looked very deeply at it, but it may offer some of what Camtasia does. You could then use that for your panning and enhance Captivate that way.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Does JSP best practice of putting under WEB-INF apply to JSF pages?

    I'm new to JSF and wondering if the "best practice" advice that used to be given of storing your jsp pages under WEB-INF (when using Model2) to keep them from being served up without going through your controller still applies with JSF.
    Since the component lifecycle is so different, I'm wondering if it would still apply? If anyone can explain why it might or might not apply I'd appreciate it!
    Thanks!

    The rule is:
    keep all the pages you don�t user to "browse", under the WEB-INF directory.
    MeTitus

  • JSP best practices...

    I know that in the MVC model for web services/application design that the JSP is the view component and so therefore the idea is to take out all scripting code (except for JavaScript maybe). I was wondering if the best practice for using/writing JSPs is to have a servlet determine what action the user requests and then dynamically generating the JSP based on that action. I believe that this is what the Sun developers are doing with the index.jsp page for the forums section. They use a SessionServlet although for which purposes I am not entirly sure. I downloaded the index.jsp page to see if it had scripting code in it, but it was just a buch of HTML, so am I wrong to assume that it was dynamically generated? Any insight to this mystery would be much appreciated!

    Normally you cant donwload JSP code.
    You downloaded HTML that was generated by JSP

  • CE Benchmark/Performance Best Practice Tips

    We are in the early stages of starting a CE project where we expect a high volume of web service calls per day (e.g. customer master service, material master service, pricing service, order creation service etc).
    Are there any best-practice guidelines which could be taken into account to avoid any possible performance problems within the web service u201Cinfrastructureu201D? 
    Should master data normally residing in the backend ECC server be duplicated outside ECC? 
    e.g. if individual reads of the master data in the backend system take 2 seconds per call, would it be more efficient to duplicate     the master data on the SAP AS Java server, or elsewhere u2013 if the master data is expected to be read thousands of times each    day.
    Also, what kind of benchmarking tools (SAP std or 3rd party) are available to assess the performance of the different layers of the infrastructure during integration + volume testing phases?
    I've tried looking for any such documentation on SDN, OSS, help.sap.com, but to no avail.
    Many thanks in advance for any help.
    Ali Crawshaw

    Hi Ali,
    For performance and benchmarking have you had a look at Wiley Introscope?
    The following presentation has some interesting information [Wiley Introscope supports CE 7.1|http://www.google.co.za/url?sa=t&source=web&ct=res&cd=7&ved=0CCEQFjAG&url=http%3A%2F%2Fwww.thenewreality.be%2Fpresentations%2Fpdf%2FDay2Track6%2F265CTAC.pdf&ei=BUGES-yyBNWJ4QaN7KzXAQ&usg=AFQjCNE9qA310z2KKSMk4d42oyjuXJ_TfA&sig2=VD1iQvCUmWZMB5OB-Z4gEQ]
    With regards to best practice guidelines, if you are using PI for service routing try to keep to asynch services as far as possible, asynch with acknowledgments if need be. Make sure your CE Java AS is well tuned according to the SAP best practice.
    Will you be using SAP Global Data Types for your service development? If you are then the one performance tip i have regarding the use of GDT's is to keep your GDT structures as small (number of fields) as possible, as large GDT structures have an impact on memory consumption at runtime.
    Cheers
    Phillip

  • Converting Physical Exchange Server into virtual environment (P2V) – Best Practices & Tips from the field (Guide)

    Hi, I wrote a 10-pages guide regarding Exchange P2V process which I performs often at organiziations.
    I would like to hear your opinion about this guide, if you have additional information - feel free to contact me at netanel [at] ben-shushan [dot] net.
    Here's the link to the P2V guide:
    http://blogs.microsoft.co.il/files/folders/898538/download.aspx
    Netanel Ben-Shushan, MCSA/E, MCTS, MCITP, Windows Expert-IT Pro MVP. IT Consultant & Trainer | Website (Hebrew): http://www.ben-shushan.net | IT Services: http://www.ben-shushan.net/services | Weblog (Hebrew): http://blogs.microsoft.co.il/blogs/netanelb
    | E-mail: [email protected]

    Hi Netanel, thank your for the useful guidelines. 
    Do you have a similar guide for a Exchange 2010 P2V process? Or the basic guidelines would be generally the same? 
    Best regards
    LJ

  • Best practices/tips for users who are connected to A LOT of mailboxes?

    I have a user or two who seem to be connected to _everyone's_ mailbox.  This person is in recruiting, so access to other people's calendars is necessary
    for scheduling.
    Problem is, she faces multiple Outlook slow downs and lock ups on a daily basis.  She recently showed me a problem where calendars that she typically has
    access to now prompt her to "ask them to share their calendar" messages (reboots will fix this problem, for the most part).
    Taken her on and off cached Exchange mode.  We have disabled the "Download shared folders" setting, and that helped some, but issues still persist.
     She is typically the only one with constant problems (her and one other person that is in a similar situation).
    More info: we allow Reviewer permissions for everyone's Calendar for the "Default" entry.  So, she does not have full access to any one's mailbox.
     She's just viewing everyone as a shared calendar.
    Hoping there's someone out there with similar issues that have successfully tackled this problem!
    Running on-prem Exchange 2013 with three member DAG.
    Thanks in advance.

    She can use the scheduling assistant to check availability, there is no need to have other people calendars added. Remove all those calendars, compact the data file, and educate her on how to properly use Outlook. Here's a reference article:
    http://blogs.technet.com/b/ewan/archive/2012/02/10/tip-o-the-week-96-reining-back-outlook-s-file-size.aspx

  • Linking Word Docs in RH8 - Need Workflow Critique, Best Practices Tips, etc.

    Me: TCS 2
    Writer 2: Word 97, Acrobat Pro 8
    Software industry
    Help File Specs: Using RH8 to output to AIR Help (prior to current project = CHM), approx. 500 topic legacy help system (apparently created several years ago from the Word U.G; no CSH, index, or glossary); project uses one master page and one CSS
    Project Challenges: Big new features being added at the 9th hour, deadline moved UP by two months, have just been given a writer to help document new features but she only has Word and Acrobat (and we both work from our home offices)
    After reading everything in the RH Help on Linking Word docs, Peter's info (RH8 Tour on Grainge.org), the related posts I found here, and watching RJ's demo on Linking vs. Importing, I've come up with a tentative workflow. Going to do some tests, but wanted to get this posted in the meantime.
    Workflow
    1. Generate separate Word file for each of the existing RH topics Writer 2 will need to update.
    2. Apply template to Word files that matches my CSS styles (?)
    3. Create Word template matching my CSS styles for Writer 2 to use for new topics.
    4. Writer 2 updates/creates content. Each Word file =One RH Topic.
    5. I delete the existing topics she now "owns" from the project.
    6. When she's done with her first pass, I link all of these into the project.
    7. When she supplies revised files, I drop them into the folder, then do "Update" (or "Force Update"?)
    8. She also supplies a commented PDF version of each file to me to say "XYZ.jpg goes here" or "Make sure to include this topic in the TOC". (From what I've read, images from Word to RH = headache, and I don't enjoy files names such as "Image0001"...already a big pain since this project originated in Word and my client is in love with screen captures...trying to "wean" them off.)
    Questions/Comments
    - I know you can bring TOC entries over from Word, but think I'll spend more time messing with trying to integrate into the "master" TOC than just manually doing it.
    - Can I just have Writer 2 use the Word Comments feature to pass info on to me, or would those show up in my output or cause some other issue?
    - Can Writer 2 use Word cross-references that would become hyperlinks to the correct topics in RH given above (or would all of her "topics" have to be in one Word file to do this)? Any way she can "code" text to end up creating a link to one of my topics, or am I going to have to do this?
    - Would I be better off generating one big Word file for her to edit, then telling RH to break it at a certain heading style instead of the 1-to-1 ratio I had in mind?

    Hi there
    In my own opinion, Panning is a nice attempt, but just doesn't cut the mustard. It's nowhere near as good as the panning one sees with Camtasia Studio.
    I might suggest combining Camtasia with Captivate for the ultimate development set. There are aspects Captivate shines in when compared with Camtasia, and there are aspects Camtasia shines in when compared with Captivate. So I say if you can afford it, go for it!
    Now I know that both packages are sort of pricey and not everyone can afford both. In that case you might want to try Jing, which is free to use. I've not looked very deeply at it, but it may offer some of what Camtasia does. You could then use that for your panning and enhance Captivate that way.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • OBIEE Best Practice Data Model/Repository Design for Objectives/Targets

    Hello World!
    We are faced with a design question that has become somewhat difficult and we need some help. We want to be able to compare side-by-side actual measures with their corresponding objectives/targets. Sounds simple. But, our objectives are static (not able to be aggregated) with multi-dimensionality and multi-levels. We need some best practice tips on how to design our data model and repository properly so that we can see the objective/target for a measure regardless of the dimensions that are used in the criteria and regardless of the level.
    Here is some more details:
    Example of existing objective table.
    Dimension1
    Dimension2
    Dimension3
    Obj1
    Obj2
    Quarter
    NULL
    NULL
    NULL
    .99
    1.8
    1Q13
    DIM1VAL1
    NULL
    NULL
    .99
    2.4
    1Q13
    DIM1VAL1
    DIM2VAL1
    NULL
    .98
    2.41
    1Q13
    DIM1VAL1
    DIM2VAL1
    DIM3VAL1
    .97
    2.3
    1Q13
    DIM1VAL1
    NULL
    DIM3VAL1
    .96
    1.9
    1Q13
    NULL
    DIM2VAL1
    NULL
    .97
    2.2
    1Q13
    NULL
    DIM2VAL1
    DIM3VAL1
    .95
    2.0
    1Q13
    NULL
    NULL
    DIM3VAL1
    .94
    3.1
    1Q13
    - Right now we have quarterly objectives set using 3 different dimensions. So, if an author were to add one or more (or zero) dimensions to their criteria for a given measure they could get back a different objective. They could add Dimension1 and get 99%. They could add Dimension1 and Dimension2 and get 98%. They could add all three dimensions and get 97%. They could add zero dimensions (highest grain) and get 99%. Using our existing structure if we were to add a new dimension to the mix the possible combinations would grow dramatically. (Not flexible)
    - We would like our final solution to be flexible enough so that we could view objectives with altogether different dimensions and possibly get different objectives.
    - We currently have 3 fact tables with 3+ conformed dimension tables and a few unique dimension tables.
    Could anyone share a similar situation where you have implemented a data model structure with the proper repository joins to handle showing side-by-side objectives/targets where the objectives were static and could be displayed at differing levels with flexible dimensions as described?
    Any help would be greatly appreciated.

    hi..yes this suggestion is nice...first configure the sensors(activity or variable) ..then configure the sensor action as a JMS Topic which will in turn insert the data into a DB..Or when u configure the sensor action as a DB..then the data goes to Oracle Reports schema..if there is any chance of altering the DB..i mean if there is any chance by changing config files so that the data doesnt go to that Reports schema and goes to a custom schema created by any User....i dont know if it can b done...my problem is wen i m configuring the jms Topic for sensor actions..i see blank data coming..for sm reason or the other the data is not getting posted ...i have used a esb ..a routing service based on the schema which i am monitoring...can any1 help?

  • Must use Captivate v4.0 to capture playing video - Best practices & PC requirements?

    Hi all,
    I like Captivate, but have had a lot of trouble capturing playing video (a big part of my client's product) in the past. Despite encouraging client to consider other tools, they have decided they want to continue using Captivate and output to SWF. Some of us on the team for a previous project using v3.0 were able to successfully capture moving video, others weren't. (Vaguely recall something to do with a Hardware Acceleration setting, but it didn't work for everyone.) We've all upgraded to v4.0 but haven't used it yet. My questions are:
    1. Has this been improved at all in v4.0?
    2. What is the "optimum" PC hardware for doing this? (I am purchasing a new desktop, and need to keep cost to a minimum, BUT that is secondary to being able to produce these demos with moving video captured well!)
    3. Can you give me any best practice tips specific to capturing moving video? FYI, we will be adding audio narration (after capture), but will not be using written captions except for a few Notes/Tips.
    Thanks in advance for your help!
    Katie
    Senior Technical Writer
    Phoenix, AZ

    Hi all,
    I like Captivate, but have had a lot of trouble capturing playing video (a big part of my client's product) in the past. Despite encouraging client to consider other tools, they have decided they want to continue using Captivate and output to SWF. Some of us on the team for a previous project using v3.0 were able to successfully capture moving video, others weren't. (Vaguely recall something to do with a Hardware Acceleration setting, but it didn't work for everyone.) We've all upgraded to v4.0 but haven't used it yet. My questions are:
    1. Has this been improved at all in v4.0?
    2. What is the "optimum" PC hardware for doing this? (I am purchasing a new desktop, and need to keep cost to a minimum, BUT that is secondary to being able to produce these demos with moving video captured well!)
    3. Can you give me any best practice tips specific to capturing moving video? FYI, we will be adding audio narration (after capture), but will not be using written captions except for a few Notes/Tips.
    Thanks in advance for your help!
    Katie
    Senior Technical Writer
    Phoenix, AZ

  • Setting up a new SCOM Enviroment best practice pointers

    Hello
    I currently have SCOM 2007 R2 and am looking to implement SCOM 2012 R2. We have decided to start a fresh and start with a new Management Group (rather than upgrade the existing SCOM 2007 R2 environment, as there is a lot of bed practice, lessons learnt we
    do not want to bring over to the new environment).
    I am looking for some practical advise please on how to avoid pitfalls down the line.
    For example, in the past as was recommend when installing a new MP, I would create a new unsealed MP to store any overrides for the newly imported sealed MP. So lets say I imported a MP called "System XZY" I would then create an unsealed MP called
    "Override SYSTEM XYZ" now on the surface that looks fine, but when you sort in the Console they do not end up next to each other due to the console sorting alphabetically on the first letter.
    Therefore I should have called the MP "System XYZ Override" and the same for the others too, they way they would of all sorted next to one another sealed and its equivalent unsealed MP.
    The above is a very simply example of where doing some thing one way although looks OK at the start would have been much better to do another way.
    Also when it comes to Groups in used to create a group in an unsealed MP (e.g. the override MP) relevant to the rule/monitor application in question. The issue is as you know with unsealed MP you cannot reference the Group from another MP. Therefore
    if I needed to reference the same group of computers again for another reason MP I could not without creating another Group and thereby duplication and more work for the RMS to do populating/maintaining these groups.
    However I have also read that creating and MP for Groups then sealing and unsealing to add more groups etc. can be an issue on its own, not sure they this sealing/unsealing of a MP dedicated to Groups would be an issue, perhaps someone has experience of
    this and can explain?
    I would be very grateful for any advise (URL to document etc.) which best practice tips, to help avoid things such as the above down the line.
    Thanks all in advance
    AAnotherUser

    The following articles are helpful for you to implement SCOM 2012 R2
    System Center Operations Manager 2012: Expand Monitoring with Ease
    http://technet.microsoft.com/en-us/magazine/hh825624.aspx
    Operations Manager 2012 Sizing Helper Tool
    http://blogs.technet.com/b/momteam/archive/2012/04/02/operations-manager-2012-sizing-helper-tool.aspx
    Best practices to use when you configure overrides in System Center Operations Manager
    http://support.microsoft.com/kb/943239/en-us
    Best Practices When Creating Dashboards In OM12
    http://thoughtsonopsmgr.blogspot.hk/2012/09/best-practices-when-creating-dashboards.html
    Roger

  • Coldfusion Error catching (cftry cfcatch) best practice question...

    Hey all -
    I wanted to get a couple of opinions about this.  Obviously I want to catch any and all errors that hit my server and avoid exposures to my end users, but I didnt know what the most efficient way of doing such was.  Does it make sense to put a cftry cfcatch around the entirety of my code on every page?  (I use a lot of embeds...cfinclude)  Or is that too broad?  How does that effect performance?  Is there another way to auto catch and email all errors and then show the user a custom error page?  I searched around, but I got bits and pieces based on specific requests...not really any "best practice" tips.  Any suggestions would be fantastic.
    Thanks much!

    There are no real best practices as such, as it's largely down to your application. The only real "standard" is the onError() method in Application.cfc, which will handle any Exceptions which make their way to it - i.e. any that are not caught by an explicit try/catch block.
    When considering what you are now, I consider this: where do I want to display an error? How far down the line does it matter? There's no right or wrong answer, it's down to you.
    Say you're displaying a page, which is made up of ten includes. If there's an error in one, do you want the other nine displayed, or do you want the whole page to error? If it's the former, wrap each one in its own try/catch. If it's nonsensical to do so, just let the page throw an Exception to get picked up by your Application.onError() method.
    It also depends largely on whether or not an error is "recoverable" - is it of any use telling someone that a small but important part of the page failed becuase of a database issue? Probably not. There's nothing they can do about it, so just throw an error and let your error template sort it out.
    It also depends on the context in which the page is being called - if it's an Application with users, you can display an error page with as much or as little information as you want. If it's a remote CFC call, however, it's extremely annoying for the remote developer to just get useless ColdFusion exceptions. Therefore I would always wrap every remote CFC method in its own try/catch, so if something goes wrong you can still return them something useful - even a "false" is better sometimes than an exception. You can then do what you like within the catch block - send you an email, log to disk, whatever.
    Just a few thoughts, haven't proof read them though so expect massive, glaring mistakes and poor advice.

Maybe you are looking for