I need to know the difference !

Hi , Can someone please tell me why should i have to use in the server side a servlet that is calling an EJB that will do me the conection to the data base insteed of doing the conection to the data base directly from the servlet or a jsp , what are the pluses and the minuses of each method ?
thanks

doing so in the jsp is discouraged by the MVC model. The reason is that it is often likely that you will like to make changes to the jsp or you would like to use a different jsp to access the same db. By placing this 'model' in a bean you can update the jsp without screwing up an db stuff. Also it will make the jsp much more understanable to people without extensive programming knowledge ie. web designers. Also, by using the bean, you can take advanatge of more of the build in features that mordern application servers have, like connection pooling.

Similar Messages

  • I need to know the difference between planned SKF and Actual SKF from business view and when I can use one of them ?

    I need just to know the difference between plan SKF and Actual SKF in business example and when I use one of them.
    thanks

    Hi Salaam,
    Statistical Key Figure (SKF) is a base to allocate the cost between cost centers. Usually, common cost centers cost should allocate to respective department cost centers on monthly basis.
    Some of SKFs are: Calculating floor rent on SFT, Telephone charges on No. of units, and employees head count is with "Each" in SAP.
    Apart from Ajay's reply, you can consider the Canteen exp in an organization. Assume Admin, Fin and Mfg departments are getting food services from Canteen. Here, total monthly cost of Canteen exp should be allocated to respective departments. Here, we use SKF as total head count of each department and distribute the cost.
    Planned SKF is what you planned on the beginning of a period. (Assume head count was planned as 30 in the month beginning)
    Actual SKF is what exactly you consumed over the period. (Actual employees provided canteen services during the month is 25)
    BR, Srinivas Salpala

  • Need to know the difference between SRM workflow and Normal Ecc 6.0 Worflow

    Hi All,
    I have worked on Ecc 6.0 worflow, just wanted to know how is SRM workflow going to be different than the ECC6.0 worflows.
    Incase if someone can suggest some links for tutorials for SRM workflow basics.
    Thanks to all in advance.
    Anu.

    Hi
    In addition to Masa
    For every business object we do have one or more  work flow templates are available.
    In SRM , you can approve via web browsers . very user friendly screens
    br
    muthu

  • Needs to know the difference between 4500s and 6500s

    i would like to referesh my company's GO and with 7613 router and has 2 6509E with sup720 core. it has a 4 MDF 6509E with sup720 also. now about IDF's i am confuse what i have to use. 4500s or 6500s. the main thinking is we would like to upgrade our desktop from 100M to 1G. so i have to think about the uplink between IDF and MDF.what is suitable for me in this case.
    thanks.

    This is a very broad question which can't be covered in a single post.
    My first suggestion is getting to know everything about each model.
    Start by going to http://www.cisco.com/en/US/products/hw/switches/index.html
    and click on each product family.
    Second suggestion is giving your Cisco Sales rep a call, he will come onsite and show you how you can maximize your network environment and what product matches your criteria better.

  • I do video productions for a small local TV station. I use Final Cut Express to edit. I need a new video camera but am at a loss as to what to buy. I know I will get a digital camera but do not know the difference between just digital and digital HD.

    I do video productions for a small local TV station. I use Final Cut Express to edit. I need a new video camera but am at a loss as to what to buy. I know I will get a digital camera but do not know the difference between just digital and digital HD. Also, I can not afford an expensive camera and need some advice on which of the available cameras would be best and also work well with a Mac. One last issue, I currently use a Panasonic #CCD camera that takes a tape. When I load video to Final Cut the audio and video are out of sinc. Go figure. Can anyone help with these questions. Karen

    Hello Karen,
    If you are using Final Cut Express, then look for camcorders that are AVCHD camcorders.  Look especially for the AVCHD logo and specific mention of AVCHD in the specs.  Most of the major manufacturers produce good quality camdcorders - Canon, Sony, etc.
    Also, be aware that there are a lot of "not quite AVCHD" camcorders on the market (sometimes they say they record video as MPEG4-H.264/AVC) - buyer beware!
    Most everything you are going to find on the market today is HD, which stands for "high-def".
    Regarding your question about the Panasonic camcorder, it's best if you post that as a separate question, and please identify the specific model camcorder and the Easy Setup you are using in FCE.

  • I need to know the date of the last Monday

    I need to know the date of the last Monday
    If today is Monday then I need todays date
    If today is Tuesday then I need yesterdays date etc....
    If today is Sunday then I need to know the date 6 days ago etc....

    the day() function will tell you what day of now() is as an integer: 1=Sunday 7=Saturaday.
    You know that Monday is 2.  The difference between today's number and Monday's number (with a little mathmatical juggling to wrap Sunday to the previous week  -- I would probably just convert -1 to 6 with a simple if statement after substracting 2 from the day() value.).
    Subtracting (adding a negative value) of this difference with the dateAdd() function will give you the date of that previous Monday.

  • Hi I want to know the difference between the type of internal tables.

    I know the types of internal table but i dont know the difference between them can any one explain me in simple sentence.

    Hi,
    <b>Standard Internal Tables</b>
    Standard tables have a linear index. You can access them using either the index or the key. If you use the key, the response time is in linear relationship to the number of table entries. The key of a standard table is always non-unique, and you may not include any specification for the uniqueness in the table definition.
    This table type is particularly appropriate if you want to address individual table entries using the index. This is the quickest way to access table entries. To fill a standard table, append lines using the (APPEND) statement. You should read, modify and delete lines by referring to the index (INDEX option with the relevant ABAP command). The response time for accessing a standard table is in linear relation to the number of table entries. If you need to use key access, standard tables are appropriate if you can fill and process the table in separate steps. For example, you can fill a standard table by appending records and then sort it. If you then use key access with the binary search option (BINARY), the response time is in logarithmic relation to
    the number of table entries.
    <b>Sorted Internal Tables</b>
    Sorted tables are always saved correctly sorted by key. They also have a linear key, and, like standard tables, you can access them using either the table index or the key. When you use the key, the response time is in logarithmic relationship to the number of table entries, since the system uses a binary search. The key of a sorted table can be either unique, or non-unique, and you must specify either UNIQUE or NON-UNIQUE in the table definition. Standard tables and sorted tables both belong to the generic group index tables.
    This table type is particularly suitable if you want the table to be sorted while you are still adding entries to it. You fill the table using the (INSERT) statement, according to the sort sequence defined in the table key. Table entries that do not fit are recognised before they are inserted. The response time for access using the key is in logarithmic relation to the number of
    table entries, since the system automatically uses a binary search. Sorted tables are appropriate for partially sequential processing in a LOOP, as long as the WHERE condition contains the beginning of the table key.
    <b>Hashed Internal Tables</b>
    Hashes tables have no internal linear index. You can only access hashed tables by specifying the key. The response time is constant, regardless of the number of table entries, since the search uses a hash algorithm. The key of a hashed table must be unique, and you must specify UNIQUE in the table definition.
    This table type is particularly suitable if you want mainly to use key access for table entries. You cannot access hashed tables using the index. When you use key access, the response time remains constant, regardless of the number of table entries. As with database tables, the key of a hashed table is always unique. Hashed tables are therefore a useful way of constructing and
    using internal tables that are similar to database tables.

  • Can anyone please let me know the differences between EDW and BI 7 if any

    Can anyone please let me know the differences between EDW and BI 7 if any.

    hi,
    As such their is no diff  between the to
    The Enterprise Data Warehouse (EDW) is a service offered by the Data Services Department of the Information Services and Technology Division.  EDW consolidates data from multiple sources in support of campus wide decision making and related information needs such as reporting, analysis, and planning.
    The vision for the EDW is to provide information that is secure, accurate, timely, consistent, integrated, appropriately detailed, well-organized, and easy to obtain so that people throughout the campus -- staff, faculty, researchers, and executive-level administrators -- will be better able to assess their needs, set priorities, understand the impact of change, and fulfill their programmatic responsibilities more efficiently.
    The major components of the existing Enterprise Data Warehouse are:
      BAIRS Financials
    BAIRS HRMS
    BIS
    Legacy BIS
    Student Data Warehouse Pilot 
    AND BI 7 is the latest version of the EDW which is currently in used in full fledged everywhere with lots of added functionality.
    Assign points if helpful.
    Regards,
    Amit

  • I would like to know the difference between OEL and RHEL

    I would like to know the difference between OEL and RHEL, are they same?
    If I test any application on RHEL, will it work on OEL too.
    Thanks
    Edited by: user10685113 on 08-Aug-2012 05:35

    The name OEL as such is not used anymore, since the product was renamed from Oracle Enterprise Linux to Oracle Linux with the release of version 5.5 in September 2010.
    The main technical difference between Oracle Linux and RHEL is that Oracle Linux ships with an Oracle exclusive and optimized Oracle UEK kernel. It does however still install and provide the original and older RHEL kernel for fallback.
    As of Oracle Linux 5.6, the Oracle UEK kernel is the default kernel. The current latest version of Oracle Linux 6.3 uses the Oracle UEK2 kernel, which is based on the Linux 3 kernel (2.6.39).
    Oracle Linux is binary compatible with RHEL.
    Oracle Linux has several advantages over RHEL, in particular if you plan to use it to install Oracle products.
    • The same kernel UEK and UEK2 versions are available for Oracle Linux 5.x and 6.x
    You do not necessarily need to perform a complete and unsupported system upgrade to use a newer kernel version and drivers.
    • Oracle Pubilc YUM
    Oracle provides a public yum repository for installing software packages including the latest patches. RHEL does not and requires a paid subscription for online access.
    • Oracle specific drivers and software
    Oracle Linux provides additional software and kernel drivers, for Oracle clustering, Dtrace, BtrFS and ASM, which is not available for RHEL 6.
    Oracle Linux provides additional packages which trigger the automatic installation of system software prerequisites, including kernel parameters and oracle account setup to install Oracle Database:
    oracle-validated (Oracle Linux 5)
    oracle-rdbms-server-11gR2-preinstall (Oracle Linux 6)
    And last not least you have just one vendor and support requirement for Oracle products.
    Have you checked the Internet:
    http://www.oracle.com/us/technologies/linux/index.html
    https://linux.oracle.com
    To obtain Oracle Linux:
    https://edelivery.oracle.com/linux
    https://wikis.oracle.com/display/oraclelinux/Downloading+Oracle+Linux (alternative)
    Edited by: Dude on Aug 8, 2012 2:29 PM

  • I need to know the multitude of reason why my iPhone 5s would prompt me for my Apple ID password. Please help.

    I need to know the multitude of reason why my iPhone 5s would prompt me for my Apple ID password.
    All I did was place my phone on the charger, I then walked away for 10-15mins and when I came back it was asking me to enter my Apple ID password.
    I never gave my password out to anyone ever and hardly anyone knows my email address.
    I haven't recently downloaded anything either and I only have one apple device which is my iPhone 5s.
    I just want to know really if it could have been because someone was trying to log into my Apple ID?
    Please help with multiple reasons why this could have happened. I just want to know the options. Thank you

    My iPhone 5s did the same thing yesterday. I have iCloud backup turned on in Settings > iCloud > Storage & Backup and that means it will automatically do a backup when the phone is plugged in, locked and connected to wi-fi. I had it charging and when I returned it was asking for the password and the prompt did identify that it was requesting it for the iCloud backup (something you may not have noticed if you didn't look closely).
    It has never done that before and 2 iPads in my household have not yet done it. All are on iOS 7.1
    I have found a report of the same issue by a user of the 7.1 beta and in that case it was happening every day. In my case I entered the password then went to the same area in Settings as above and used the "Backup Now" button to do a backup. I will see tonight when I charge again whether this is going to be an every day problem.

  • Need to know the sqluery to find the disabled date from OIM 9.1.0.1

    Hi Experts,
    Need very urgent inputs from you all for the preparation of our audit.
    We are using OIM9.1.0.1
    We need to know the sqlquery for finding the Disabled date in OIM given the user ids, as currently we are unable to get the exact data from Historical Reports Option in OIM.
    I need to give in this format:
    select usr_login, usr_disabled from schemaname.tablename where usr_login in
    ('aaa','bbb'..... etc)
    We have three attributes :USR_DISABLED_BY_PARENT,USR_DISABLED,USR_DEPROVISIONING_DATE,but none of them give the exact date,
    USR_DISABLED gives just a flag as 1 or 0.
    Also there are no other fields in the corresponding usr table.
    So how to fetch the exact Disabled date from OIM system when I input the user ids.
    Your immediate response is appreciated.
    Thanks
    SS

    In the entire thread many experts have given nice queries in different formats...
    The best approach would be to open up the SQL Developer, connect with the OIM Database and experiment with all sorts of SQL queries provided by all the experts..
    Learn some SQL techniques, like Inner Join etc...
    Then you yourself will be able to figure out what you need, in exactly which format, for which users and for whom you have to restrict
    Then not only this question, you would be able to solve dozens of similar such issues yourself...
    And trust me, nothing can match that...
    Just in case, you are not familiar with SQL Developer,
    http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
    Oracle SQL Developer 3.2.1 (3.2.10.09.57)
    September 24, 2012
    The Disabled DATE will be the creation date of that entry in the UPA_FIELDS table when Users.Status changed to Disabled.
    SELECT USR.USR_LOGIN, UPA_FIELDS.CREATE_DATE
    FROM UPA_FIELDS
    WHERE UPA_FIELDS.FIELD_NAME='Users.Status'
    AND UPA_FIELDS.FIELD_NEW_VALUE='Disabled'
    AND UPA_FIELDS.UPA_USR_KEY=USR.USR_KEY
    AND USR.USR_LOGIN NOT IN ('XELSYSADM', 'XELOPERATOR', 'WEBLOGIC');

  • I need to know the location where iTunes downloads software to, it is filling up my hard drive.

    I need to know the location where iTunes downloads software to, it is filling up my hard drive.
    I am trying to put my iPhone4 into recovery and then will restore it. iTunes starts extracting the software.  But the iPhone reboots and by the time the software has completed extraction, the iPhone can no longer be seen by iTunes. 
    We have a very small hard drive on our laptop.  Each time iTunes does an extraction, it uses up more space on the C: drive. 
    Nothing frees up that used drive space. Not closing iTunes or rebooting the computer. Nothing. 
    How do we release / delete these files?

    See Re: when itunes downloads ipsw where does it go.
    tt2

  • I need to know the right tools and java technology

    Please help,I need to know the right tools and java technology to support what I need.
    I had background programming in Assembly,C++,Visual Basic,SAP/ABAP 4.
    All I can say, programming is about logic, now we are very helped building program using objects.
    I'm very interest to SAP tech, where all screens, programs, reports are resides on tables, this is the real dynamic!
    CUrrently I'm eager to do the same technic with java. I'm new to java....
    What I know the J2EE is the core for me to start is it right? I was very interest with the Client-Server Tech. How can I impelemet this with Java?
    I'm a bit confuse with so many java solutions. There is Java Applets, Swing, Java AWT, JavaBeans, etc...
    I don't know what is the best if I want my Presentation/Client Application will run within browser (not standard html, using like windows gui). What should I do to make business logic objects, how to invoke it within the gui. how to make installation package whenever clients connect to the http server.
    if you have a pointer to do it please let me know.... I'm very appreciate all your response...
    Best regards,
    Lucky Pangemanan

    I'd say - don't get carried away with the heavyweight frameworks. Don't use EJB if Hibernate and/or Tomcat will do the job. There's a danger of winding up using a bulldozer to crack a wallnut.
    What people mean by "J2EE" varies a fair bit.
    Start with Tomcat, which has the virtue of being free. Try some JSPs and servlets.
    Use Applets to do client side presentation only if you must; Applets create an installation overhead on end-users, and some of them can't cope, while others may not have the necessary installation permissions on their office machines. They are pretty rarely needed, IMNSHO, most client-side behaviour is better handled with html and JavaScript.

  • My MacBook was stolen and I need to know the MAC address

    An emergency question to Apple support. My MacBook was stolen and I need to know the MAC address of its network card. I have a receipt with the serial number of my MacBook. Can you assist?
    My serial: W8***66D
    Thank you
    p.s Any ideas how I can find it?

    Report the theft to your local authorities.
    Apple has no means of tracking thefts, as thieves themselves may claim the machine is theres just by looking up the information on the computer, and unless you registered the machine, it is really their word against yours, unless you also have receipt or other information that they can track to your receipt against your serial number.
    Your homeowners insurance may be able to recoup the cost.
    In the future, consider getting Lapcop, or Lojack for notebooks.
    Good luck!

  • Im about to make a trip to the USA and i need to know the price of an iphone 4s 64GB unlokced please in order to carrie the amount of dollars

    Im about to make a trip to the USA and i need to know the price of an iphone 64GB unlokced please in order to carrie the amount of dollars

    "Same as what? "  US of course.
    So the price of an iPhone in the U.S. is the same as the price of an iPhone in the U.S. ?
    Okay.
    tymcziszyn asked how much an iPhone in the U.S. would cost. Nothing was mentioned about comparing the cost (which you seemed to be attempting to do but your post was a bit short.).
    You really meant that the price of an iPhone purchased in the U.S and then paying import duties and VAT when taking it home would (likely be close to the) same price as if purchased in his home country.
    and what if his home country does not sell the iPhone?
    I understood what you meant but OP may not be native english speaker (though he seems to do well here) so making sure they get the entire message clearly may help.

Maybe you are looking for

  • Welcome to the Cisco Networking Professionals Unified Computing topic

    Welcome to the Cisco Networking Professionals Unified Computing topic. This topic will provide you the opportunity to discuss issues such as building and running server virtualization, mobility management, stateless computing, application provisionin

  • How to recover data from the hard drive?

    I've always heard that data is never really gone from the hard drive even after you delete it. How do I recover that data? My problem is some photos (my honeymoon photos) have been deleted from my computer and they have also been deleted from the rec

  • Solstice backup 6.1 hang when invoking the autochanger "SUN Storedge L8 "

    My company have a SUN Storedge L8 attached to a SUN Solaris 9 (SPARC) while I can only do a tar to the /dev/rmt/0, whenever I tried to interact with the jukebox with the solstice backup, the program hang definitely. grep '/usr/kernel/drv/lus' /var/sa

  • Excise Invoice -Credit & Debit Memo

    Whether we have to create excise invoice in case of credit and debit memo

  • OIM-OID reconciliation

    Hi, i am able to provision the user to OID from OIM.. but OID OIM Reconciliation is not working... some one please provide me the steps to configure or provide the document for the reconciliation configuration steps. thank you Edited by: user13513300