Which should I use (CMP or BMP) for my Web Application?

I am developing an Web Application with Oracle Database. In this work, I always use the SQL sentences in complex (Joining many tables with WHERE condition). So that, I want to be adviced in developing this web application with CMP or BMP or other opinions?
Thanks in advance!

If you want to write long (optimized) SQL queries, than you shouldnt use
entity EJB's at all.

Similar Messages

  • Migrating to Sharepoint 2013 from 2010 - Can you use the same URL for the Web Application without affecting the 2010 environment?

    Hi,
    I am currently trying to migrate our SharePoint 2010 environment to SharePoint 2013. The first thing I'm doing is creating a 2013 development environment to verify that this migration goes smoothly. I'm also doing this so that we will have a testing environment
    after the upgrade to 2013 is complete. 
    So here is my question: I have a 3 tier farm including; 1 app server, 1 wfe, and 1 sql server. I have made a copy of our SharePoint 2010 database and installed that on our sql server 2012 sever (This new environment is on 3 completely separate servers from
    our 2010 environment). I have also installed the prereqs and configured SharePoint 2013 on the App server and wfe servers, as well as configuring the necessary service applications (I have created a completely new 2013 database where I will migrate my 2010
    database content when I'm ready).
    I am now at the point where I need to create a new web application on the 2013 app server, where I will be migrating the copied 2010 database.  (Also note that we have a 2010 development site called https://[email protected])
    When I go to create a new web application in our 2013 dev environment, can I use the same url (https://[email protected]) to create this web app, or will this screw up our current 2010 dev environment?
    I'm new to SharePoint migrations, so I apologize if this is a stupid question.
    Thanks in advance for any insight you can share on this!
    Boe Barlage

    So, what you are recommending is that before I create a web application in my new 2013 environment, I need go into my hosts file on my 2013 app server and alter it to point to my 2013 wfe.
    Then after I do that, then I can create my new web application on my 2013 app server with the same url as my 2010 testing environment
    (https://[email protected]). 
    Then after that I should be able to access my new sharepoint 2013 environment at the same URL (https://[email protected])?
    I must be missing something.
    In your first reply, you told me to alter the host file on my 2010 app server and point it to my 2010
    wfe (I guess I thought it probably already is). You also told me to alter the host file on my 2013 app server and point it to my 2013 wfe. 
    so I am confused on after I do this, what url would I access my 2010 test environment, and what url would
    I access my 2013 test environment?
    I am fine with having my test environment as a different URL until I am totally ready to roll everything over and kill the 2010 site. But I want to make sure that when I migrate my database, none of the site links are broken.
    I also want to make sure that if I proceed this way, I want to be sure that I will be able to modify the URL to what my 2010 environment is (without a lot of headaches) when I am ready to kill the 2010 site.
    Thanks again for your help, it's much appreciated!
    Boe Barlage

  • Which should I use to import my photos in tho my MacBook Pro - iPhoto '11 or Lightroom 4 ? And, why, please ?

    I have two questions, please.
    1. Which should I use to import, edit and manage my photos - iPhoto 11 or Lightroom 4, and why?
    2. How do I save my edited photos as albums and export them to be stored in my Apple Time Capsule for members of my family to import and add to their Apple devices.
    Thank you.

    This is an impossible question for anyone to answer for you. Only you know what you're shooting - Raw or Jpeg? Are you a Pro or an Amateur? If you're an Amateur are you a serious hobbyist or just a guy who snaps pics at the kid's birthday parties to send to Grandma.
    You can compare the feature sets of the two apps. In a nutshell:
    iPhoto is a $15 app. It's designed with the family snapper in mind. For that you get a lot: Lossless processing, complete management, lightweight editing, integration throughout the entire OS.
    LIghtroom is about $150 these days. It's designed for a professional setting.  For that you get lossless processing - but a lot more fine control, less management, powerful editing, no integration with the OS.
    From a photography point of view, if you're a pro or a serious hobbyist then there's no discussion. If you're not, then LR might well be a sledgehammer to crack a monkey nut.
    If you want all the convenience of iPhoto with the power of Lightroom, check out Aperture.
    As to your Q2: depends on your answer to Q1. But that's not an intended use of a Time Capsule.
    Regards
    TD

  • Extended vs joined network - which should I use

    I have a Time Capsule connected to my iMac and in the living room I have an airport express that I stream music to. Which should I use. Extended or joined netowrk. I find that if it is extended my MacBook Air, iPad and iPhone run a lot slower than if it is a joined network. If it is an extended network all my portable devices are sitting on the Airport Express. If it is a joined network they are sitting on the time capsule where I get the better performance.
    In terms of the streaming of my music though it doesn't matter whether it's joined or extended.

    I have a Time Capsule connected to my iMac and in the living room I have an airport express that I stream music to. Which should I use. Extended or joined netowrk.
    For the purpose of streaming only, you will want to configure the AirPort Express to "join" the wireless network provided by the Time Capsule. The Express will, in turn, perform simply as another wireless client on the network and not introduce the bandwidth overhead of an extended network.
    In terms of the streaming of my music though it doesn't matter whether it's joined or extended.
    That is correct.

  • Hello to tuti, what must I do to import into FCE mov video converter registered with Nikon D3100, which should I use? thanks from italy monza rudy

    Hello , what must I do to import into FCE the mov video converter registered with Nikon D3100,
    the timeline of the rendering is orange (fce)
    which should I use?
    thanks from italy monza rudy

    rodolfofromconcorezzo wrote:
    Hello , what must I do to import into FCE the mov video converter registered with Nikon D3100,
    the timeline of the rendering is orange (fce)
    which should I use?
    thanks from italy monza rudy
    I do not understand the part regarding importing the Registered Video Converter!!
    Can you explain this in more detail please???
    Al

  • The software update to 7.1 on my iphone 5 is 214 mb, while via itunes it's 1.27 gb. what's the difference, which should i use?

    the software update to ios 7.1 on my iphone 5 is 214 mb (settings>>general>>software update), while the update via itunes it's 1.27 gb. what's the difference, and which should i use?

    My preferred method is to do the Update using iTunes on my Computer.
    You will Prompted to Transfer any Content from the Device.
    See the Using iTunes Section Here...
    How to update your iPhone, iPad, or iPod touch
    Make sure you have the Latest Version of iTunes (v11) Installed on your computer
    iTunes free download from www.itunes.com/download
    Note:
    Always Backup before you update
    How to BackUp  >  http://support.apple.com/kb/ht1766
    What gets Backed Up
    iTunes http://support.apple.com/kb/ht4946
    iCloud http://support.apple.com/kb/PH2584

  • Two installers downloaded with Shockwave: 1) Installer_full, 2) Uninstaller. Nothing describes differences. Which should I use?

    Two installers downloaded with Shockwave: 1) Installer_full, 2) Uninstaller. Nothing describes differences. Which should I use?

    Aren't the names quite clear:
    Uninstaller is, well, the uninstaller
    Installer_full is the installer
    depending of what you want to do, use one or the other.

  • We are using the Azure server for our web services. Server is generating an error "Unable to connect to the remote server". What is this error means

    We are using the Azure server for our web services. Server is generating an error "Unable to connect to the remote server". What is this error means  

    Hello,
    Did you means that you use the Windows Azure Virtual Machine DNS name as the server name in the Reporting Server Web Services URL?
    For example:
    Report server:http://uebi.cloudapp.net/reportserver
    Report manager:http://uebi.cloudapp.net/reports
    If you want to connect to Report Manager on the virtual machine from a remote computer, you should create a  virtual machine TCP Endpoint and open the port in the virtual machine’s firewall. By default, the report server listens for HTTP requests
    on port 80.
    Reference:http://msdn.microsoft.com/en-us/library/jj992719.aspx#bkmk_ssrs_connect_2_remote_RM
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • I cannot use the right colors for a web image.

    I cannot use the right colors for a web image. Photoshop CC keeps replacing colors because my colors are "out of color space for print" or something like that (I hope I translated it right - I work with PS Dutch version and this forum is only in English).
    I am not interested in printing at all. I do not want any adaption for printing! I only want the right color on screen for a web image.
    I changed the color settings many times,  I created my image all over again, but Photoshop keeps replacing my vivid red by pale pink because of print colors.
    Thanks for your help.

    Use SRGB color space. and in the color picker when you see the warning don't click on the warning to have it fix the issue. As that will change the color you want want to use.

  • One Search service application for multiple web applications in a single server

      We are planning to host 17 Web applications in a single Server. Do I need to create search service application for each web application or I need to create one  Search service application , create a Content source for each web
    application and create a Result source for filtering. Which is the best approach. And which approach takes more RAM memory.
       In my application I am using Search web part, "Recently Changed Items", "Popular Items" web parts. when I created only one one  Search Service application for all web applications and using Result sources ,
    I am not getting the results. What could be the problem.

    Hi,
    One SSA is ok, but you should think about access rights. If the access is clear cut between all the web apps you should be ok with one SSA. Multiple result sources limiting on content source also works, but could easily be bypassed.
    Multiple SSA's will eat up RAM/CPU like a mother :)
    As for popular etc.. it could be due to how those sources are set up, but haven't investigated or tested this much.
    Thanks,
    Mikael
    Search Enthusiast - SharePoint MVP/MCT/MCPD - If you find an answer useful, please up-vote it.
    http://techmikael.blogspot.com/
    Author of Working with FAST Search Server 2010 for SharePoint

  • Good exception handling policy for Java web application

    I'm looking for a good exception handling policy for Java web application. First I found this Java exception handling best practices - How To Do In Java which says that you should never catch the Trowable class nor use e.printStackTrace();
    Then I found this Oracle page The Message-Driven Bean Class - The Java EE 6 Tutorial, which does just that. So now I'm confused. Is there a good page online for an exception handling policy for Java EE Web applications? I have a hard time finding one. I've read that you should not catch the Exception class. I've been catching it previously to make sure that some unknown exception doesn't slip through early in the loop and stops all other customers from executing later on in the loop. We have a loop which runs once a minute implemented using the Quartz framework. Is it OK if you just change the implementation to catch the RuntimeException class instead of the Exception class? We're using Java 7 and the Jetty Servlet Container.

    I'm looking for a good exception handling policy for Java web application.
    If you have not done so I suggest you start by reviewing the several trails in The Java Tutorials.
    Those trails cover both HOW to use exceptions and WHEN to use them.
    This trail discusses  the 'controversy' you mention regarding 'Unchecked Exceptions'
    http://docs.oracle.com/javase/tutorial/essential/exceptions/runtime.html
    Unchecked Exceptions — The Controversy
    Because the Java programming language does not require methods to catch or to specify unchecked exceptions (RuntimeException, Error, and their subclasses), programmers may be tempted to write code that throws only unchecked exceptions or to make all their exception subclasses inherit from RuntimeException. Both of these shortcuts allow programmers to write code without bothering with compiler errors and without bothering to specify or to catch any exceptions. Although this may seem convenient to the programmer, it sidesteps the intent of the catch or specify requirement and can cause problems for others using your classes.
    Why did the designers decide to force a method to specify all uncaught checked exceptions that can be thrown within its scope? Any Exception that can be thrown by a method is part of the method's public programming interface. Those who call a method must know about the exceptions that a method can throw so that they can decide what to do about them. These exceptions are as much a part of that method's programming interface as its parameters and return value.
    The next question might be: "If it's so good to document a method's API, including the exceptions it can throw, why not specify runtime exceptions too?" Runtime exceptions represent problems that are the result of a programming problem, and as such, the API client code cannot reasonably be expected to recover from them or to handle them in any way. Such problems include arithmetic exceptions, such as dividing by zero; pointer exceptions, such as trying to access an object through a null reference; and indexing exceptions, such as attempting to access an array element through an index that is too large or too small.
    Generally don't catch an exception unless you plan to HANDLE the exception. Logging, by itself is NOT handliing.
    First I found this Java exception handling best practices - How To Do In Java which says that you should never catch the Trowable class nor use e.printStackTrace(); 
    That article, like many, has some good advice and some poor or even bad advice. You get what you pay for!
    I've read that you should not catch the Exception class.
    Ok - but all that does is indicate that a problem of some sort happened somewhere. Not very useful info. Java goes to a lot of trouble to provide specific exceptions for specific problems.
    I've been catching it previously to make sure that some unknown exception doesn't slip through early in the loop and stops all other customers from executing later on in the loop.
    If the exception is 'unknown' then maybe it NEEDS to 'stop all other customers from executing later on in the loop'.
    That is EXACTLY why you don't want to do that. You need to identify which exceptions should NOT stop processing and which ones should.
    Some 'unknown' exceptions can NOT be recovered and indicate a serious problem, perhaps with the JVM itself. You can NOT just blindly keep executing and ignore them without risking data corruption and/or the integrity of the entire system Java is running on.
    Is it OK if you just change the implementation to catch the RuntimeException class instead of the Exception class? We're using Java 7 and the Jetty Servlet Container.
    No - not if you want a well-behaved system.
    Don't catch exceptions unless you HANDLE/resolve them. There are times when it makes sense to log the exception (which does NOT handle it) and then raise it again so that it gets handled properly later. Yes - I know that is contrary to the advice given in that article but, IMHO, that article is wrong about that point.
    If you have ever had to maintain/fix/support someone else's Java code you should already understand how difficult it can be to find WHERE a problem occurs and WHAT the exact problem is when exceptions are not handled properly.

  • Configuring the authentication scheme for a web application

    Hi all,
    We have a requirement to configure the authentication scheme for a web application where some set of users should access the application using basic LDAP (userid/password) authentication and some using digital certificate authentication.
    Since the deployment descriptor (web.xml) allows only one directive for auth-method in logic-config, we want to know if there is any other way to achieve this requirement. We are thinking of a custom login module approach. But we are not able to figure out how to configure the auth-method at runtime from the login servlet.
    Please let us know if there is any other approach to achieve this.
    I will be thankful if any body shares any specific solution to this issue.

    This forum is probably not the correct one to ask in. It's more related to the web container than Java Programming.
    Kaj

  • Why an organization require SSL for Shared Web Applications?

    Hi
    what is ssl and why an organization  require SSL for Shared Web Applications?
    adil

    Hi adil,
    Secure Socket Layer (SSL) is an encrypted communication protocol which uses encryption certificates. For more information about SSL in SharePoint, please refer to:
    http://technet.microsoft.com/en-us/magazine/2009.09.insidesharepoint.aspx
    http://technet.microsoft.com/en-us/library/cc262366(v=office.15).aspx
    SSL is supported for server-to-server authentication and app authentication.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Deactivate FARM Feature for one web application

    Hi All,
    We have a third party product that installs and activates a Farm Level feature that adds some actions on the AdditionalPageHead delegate control.
    this feature internally calls some load/set actions which adds to Page Load time on all SharePoint sites in Farm.
    We don't want this controls to load on one of our web applications which has Performance sensitive sites. However given that other web apps are using this feature we cant disable the Farm level feature.
    Is there a way to prevent/deactivate this feature just on one web application?
    Thanks.
    -http://lrathi.blogspot.com

    I don't think this is possible. You can either request for the web application scoped feature.

  • Office Web Apps - how to disable office web apps features for one web application

    ENV: Sharepoint 2010 farm with office web apps + fast search
    I have the requirement for one web application to open all its documents in client applications - I can enable feature "OpenInClient". This web application uses team site template and other web application also uses team site template. ( feature
    stapling ruled out)  Now I can run powershell cmdlet to enable this feature on all the currently existing site collections. But the requirement is to enable this feature for all the future site collections. This web applications has 60 k site collections
    and atleast more than 10 site collections get created each day and they dont like the option to run a powershell script each day to activate this solution.
    Is there any other way to by default activate new site collections on this WA to open in client applications by default (can we disable this office webapps features only on one web app)?
    VM

    I have learnt from this forum that it is not possible to turn off Office web apps on single web application. The line of control lies at farm level and then at site collection.
    Disable
    Office Web Apps on web application
    VM

Maybe you are looking for

  • Error while loading master data (Displaying warnings like missing messags)?

    Hi, loading is successful but request is not in green. it is appearing in yellow colur. The warnings message(yellow in colour) is: "Data package 1: arrived in BW; processing: Data packet not yet processed." Error messages like: 1.Extraction (messages

  • Itunes/computer won't recognize my ipod - my solution

    I offer this only because I had a problem, it got solved and it might help others ... And the answer was obvious, but only after I solved it ... My computer wouldn't recognize my ipod. Connected it, nothing happened usually. iTunes wouldn't open. Som

  • 24" iMac Thin darker line on the screen - dead pixels ?

    I have a 24" BTO iMac with 3,06 and GE Force 8800 GS, delivered last year in June. Was very happy until today, when i remarked, at +/- 7 cms from the right edge, a thin line, extending from top to bottom, and seeming to expand a bit in a blurry way i

  • Accounting Doc. not cleared...

    dear all, Once invoice has been done and released to accounting, we can see the status of INVOICE as completed in DOC. FLOW. After that iam getting the Accounting doc. as "not cleared" in the document flow. What it is actually referring about....as w

  • Delete non-empty directory: better solution than traversal?

    So far, I'm only able to delete a directory via File.delete() when I delete each single file in this directory and recursively in any subdirectories. I wonder if there is a better/easier way to delete non-empty directories?