Do you still need EJB when you can do it all with JSF/JSC?

I think EJBs make J2EE unnecessarily complex for 80% of small to mid or even some large scale applications. When you can separate the logic and view using JSF and Servlets, and still do transactions (using JSC DataProviders), why do you still need EJBs? I have heard nightmares with EJBs deployment and how its complex to move them over from test to production servers.
Are EJBs getting obsolete and not worth learning? Afterall, in the Microsoft world, there is nothing like EJB and all they got is ASP.NET (similar to JSF) -- along with its associated data classes and .NEt framework. I am sure they also promote separating logic from presentation.
I think JSF is the best thing Java world has got to compete with Microsoft on developer productivity for small to medium size applications.
Message was edited by:
Sabir

J2EE EJB's are far from being a holy grial capable of solving any situation. They are complex, difficult to learn and code, but we need to be fair and tell the whole story.
EJB's are part of the J2EE technology and offer infrastructure needed in complex applications. I.E., you mention
"When you can separate the logic and view using JSF and Servlets, and still do transactions (using JSC DataProviders)"
but these are only database level transactions. The J2EE app servers can handle global (and distributed) transactions involving different operations over different databases and transactions ruled by non-database software. Just imagine the complexity of handling a "rollback" of this kind. Put that in .NET pipe and try to smoke it.
J2EE EJB Entity Beans were the black sheep of the family. They were oriented to easily handle fine operations (i.e. update a specific record of information) but on the other hand present a poor performance in operations over large sets of data. You can do some optimizations but..... Now the story is a bit different with JavaEE 5 and the Java Persistence API -inspired on Hibernate-.
The bottom line is (as you mention in your post): J2EE/JavaEE are not needed by most of small or mid sized apps. However, I would strongly encourage you to have a look at the JavaEE 5 technology. The fact that portions of the JavaEE technology do not have a counterpart in .NET does not mean that they are not worth to (at least) have a look at them.
Best regards
Antonio

Similar Messages

  • HT1461 For Boot Camp, if you save a file when you are on the Windows side, when you return to the Mac side, can you see the file or can it only be "seen" on the operating side you create it in?

    For Boot Camp, if you save a file when you are on the Windows side, when you return to the Mac side, can you see the file or can it only be "seen" on the operating side you create it in?

    Why don't you  (generic most every post lacks critical details) be clear and say you never used Mac OS etc.
    But, I did try to anticipate and give you what you needed.
    Excel is one of those rare programs that, if they are extremely large complex spreadsheets still tend to run better under Office for Windows.
    A VM won't do for that but it does make it easier to transition. As in: install Windows natively, then use VMware Fusion or Parallels to attach to the partition and OS. That way you can run Windows as Guest OS VM under Mac; and still run Windows natively dual-boot when needed.
    The word "see" was not what you wanted, was it? really? you want to open and make changes and keep it on Windows side rather than Save As or copy to Mac
    You use Windows and don't know it has NTFS (NT FileSystem)?
    http://en.wikipedia.org/wiki/NTFS
    http://en.wikipedia.org/wiki/Hierarchical_File_System (HFS) native file system used by Apple
    And there is much more UEFI style "bios" and other things I suppose.
    Great thing about Google and encyclopedias or dictionary, you can look up what you don't know.

  • Can you change the Bitrate when you use the "Compressor" High Quality...?

    I am having problems with the amount of video in DVD SP and I think I need to lower the bitrate when I compress out of FCP. Can you change the Bitrate when you use the "Compressor" High Quality setting?
    Thanks,
    Stone

    Can you change the Bitrate when you use the "Compressor" High Quality setting?
    Yes. Duplicate the preset, then customize it all you want.
    -DH

  • Can you automatically start programs when you switch on your imac

    can you automatically start programs when you switch on your imac

    Yes, go to: Apple / System Preferences / User Groups / Login Items and add the Application to the list of things automatically set to start at login.
    However, you should limit it to those that you need or use, because adding a lot will needlessly slow down your startup time and use more RAM.
    Message was edited by: den.thed
    Oop'  late on the draw again, glad your question is answered.

  • Do you still need to clear PRAM in OSX 9.3.9?

    While I'm here I thought I would ask this as I am experiencing time lags and wondered if you still need to clear the PRAM as we used to in OS 9.x. I know this is not the motion thread/forum so issues I have will be addressed there. Just wondering.
    G5   Mac OS X (10.3.9)  

    FYI. Here's what is stored in PRAM memory when operating in OS X. http://docs.info.apple.com/article.html?artnum=86194
     Cheers, Tom

  • EJB client still need EJB stub when it's already compiled?

    Hi,
    I know an EJB client needs stub of EJB components to compile itself. However, does an EJB client still need stub when it's executed?

    Hi,
    I know an EJB client needs stub of EJB components to
    compile itself. EJB components should not need access to any stubs at compile time. All they need is access to the API classes, e.g. javax.ejb.*. The need for RMI-IIOP stubs is a vendor-specific issue. Some J2EE implementations require them, some don't. E.g., in the J2EE SDK we don't generate static RMI-IIOP stubs so the developer doesn't have to know about them at all.
    However, does an EJB client still
    need stub when it's executed?

  • I deleted the picture in iphoto, then emptied my iphoto trash, but the picture is still showing on my computer when i go into my trash under "all images" How do you delete pictures even when you empty the trash and they stay in the computer?

    I deleted the picture in iphoto, then emptied my iphoto trash, but the picture is still showing on my computer when i go into my trash under “all images” How do you delete pictures even when you empty the trash and they stay in the computer?

    Wtih iPhoto 9 when the iPhoto Trash is emptied the files get moved to the Trash bin in the Dock as a second chance to change your mind.  Look in the Dock's Trash bin.
    OT

  • How can you change apps store when you travel around the world?  After upgrading to IOS6, suddently my iPad has switch me to the greek apps store instead of leaving me into my canadian apps store.  Therefore, I cannot upgrade 60  apps on my iPad.

    How can you change apps store when you travel around the world? 
    After upgrading to IOS6, suddently my iPad has switch me to the greek apps store instead of leaving me into my canadian apps store.
    Therefore, I cannot upgrade 60+ apps on my iPad.
    Does someone know how to revert this situation?
    Thanks for your help!

    Try this:
    1. App Store>Feature>Apple ID (at bottom of page)
    2. Tap on Apple ID>View Apple ID
    4. Enter your password
    5. Country/Region>Change Country or Region

  • HT201178 how do you pair a keyboard when you need to enter your password first

    how do you pair a keyboard when you are being asked to enter your password first

    It is ALWAYS a good idea to have a USB keyboard available, it doesn't have to be an Apple keyboard any old USB keyboard will work in a pinch.

  • How do you updated CS5 Extended when you keep getting a message to close the program but it is close

    How do you updated CS5 extended when you keep getting a message to close the program but the program is already closed?  I have tried to do the update when I first turn the computer on, go directly to Photoshop, go to update and click on that, get new screen, close Photoshop, and I still get a message to close the already closed program.  I believe I have to open Photoshop to get to the update area, so I don't know how to get around this issue.  I hope someone can help me.
    (I use win8, 64 bit)
    Thank you in advance to all who answer my request for help.
    Ann

    Thank you for answering.  However, when I opened the Task Manager and looked at all the processes that were running, the only things running were the Task Manager and the browser.  None of the Photoshop programs were running.  So, do you have any other suggestions?

  • What does it mean when you computer crashes and when you turn it back on it shows you a blank blue screen with a little folder and a question mark in the middle?

    What does it mean when you computer crashes and when you turn it back on it shows you a blank blue screen with a little folder and a question mark in the middle? It's a old imac from 1997.

    I don't have original discs that it came with.
    Then you still can use the second option with the keyboard combo I posted, called "resetting the PRAM."
    Also when you way hold the c key down do you mean turn computer off and turn back on holding the c key?
    Yes, or you can simply restart. As you don't have the CDs, this isn't on the plate any more.
    The internal backup battery is not expensive and, in most iMacs is user-replacable. If yours has a tray-loading optical drive like this one:
    it takes a major teardown to replace the internal battery. If this is the case, you'd be better off to leave the computer plugged in all the time; that eliminates the main reason for having a working battery.
    If it has a slot-loading optical drive like this one:
    things are much easier. The battery is visible through the RAM access door on the bottom of the computer case. The manual:
    http://manuals.info.apple.com/en_US/iMacG3_2000UserManual.PDF
    has sketches of how to access the RAM and therefore the backup battery. Unfortunately, the pdf on the manual goes up sideways on-screen and the RAM instructions are pretty deep into the manual. It's probably easier to scroll (for a while) to the section on adding RAM and print the applicable pages.
    When you work on the battery, some sort of non-conductive pliers or large tweezer or forceps help unless you have tiny fingers. Make sure to note the polarity of the old battery and install the new one in the same orientation.
    The battery itself is readily available. If price is no oblect, you can get it for a small rasom from Radio Shack Store ("Tandy" outside the US) as part number 23-026.
    Online, they are dirt-cheap even after adding shipping. I buy backup batteries form this outfit:
    3.6v Newer Technology Lithium 1/2 AA PRAM Computer Clock Battery

  • How do you unlock a phone when you dont know the password?

    how do you unlock a phone when you dont know the password?

    Connect in recovery mode and restore, you'll get the option to reset the passcode during this process:
    iOS: Unable to update or restore and iPhone and iPod touch: Wrong passcode results in red disabled screen
    If you cannot remember the passcode, you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and resync the data from the device (or restore from a backup). If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone, iPad and iPod touch software.

  • HT201210 who do you unlock your ipod when you forgot the password

    How do you unlcok your ipod when you forgot the password

    Connect the iOS device to your computer and restore via iTunes. Place the iPod in Recovery Mode if necessary to allow the restore.
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    For how to restore:
    iTunes: Backing up, updating, and restoring iOS software
    To restore from backup see:
    iOS: How to back up
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the iPod backup that iTunes makes.
    You can redownload iTuns purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • HT201210 How do you unlock an iPod when you've forgotten the password?

    How do you unlock an iPod when you've forgotten the password?

    Do as the manual says to do and restore the iphone.
    If you are unable to restore, then type "unable to restore" into the search bar at the top of this page by Support and read the resulting help article

  • HT1577 How do you contact I tunes when you have purchased a song and it did not down load?

    How do you contact I tunes when you purchased a song and it did not down load to your library?

    1. Go to expresslane.apple.com
    2. select 'itunes' and then 'itunes store' on the right
    3. select a topic and a subject
    4. click 'continue' and then 'email'
    5. fill out the form and explain your situation
    6. they will respond within 24 hours usually
    Good luck
    Stijn

Maybe you are looking for

  • Is there upgrade pricing for FCE users?

    My version of less than a year old. Does anyone know if Apple will be offering upgrade pricing? Thanks

  • Multiple Resource in SNP PPM

    Hi Experts, I have scenario where bottleneck resources changes with time. Lets say that I have two workcenters WC1 & WC2. Operation 10 will be performed through WC1 and operation 20 will be performed through WC2. SFG1 is input material for operation1

  • [SOLVED] Highlighted text in the shell, appearance rxvt-unicode

    Hi, Short question, when I highlight text in the shell or when text get highlighted in ncmpcpp or outer app running in the shell it gets basically impossible to read. Because background to text get the same color and strength then the text. what sett

  • Ipad not recognizing my computer for Itunes syncing

    I recently had a virus on my computer so I had to take it to the computer DR.  Now Itunes will not sync with my ipad without erasing everything on it.  How do i fix this?

  • Can I use my apogee duet fire wire with an new iMac?

    Hi! I'm recording with my mac Book Pro, Logic Pro X and an Apogee Duet Fire Wire. Now I would like to work with an iMac. Can I still use my Apogee interface and Logic Pro X on both computers?