What are advantages of EJB

Well, I have read all class of J2EE books and worked a lot on EJB, so I think, that I do know, what I am speeking about. But I still can't get the spirit.
My point of view is the following:
EJB is a very (extremely) modular architecture, which is theoretically innovative, but in practice..?
It is so extremely modular, that you have to pay an inmense overhead for it (descriptors, EJB-Containers, problems of testing, performance problems etc..)
Ok, there is scalability, security, support of multiclients, distributed transformations
but : security is not(!) standardized.
support of multiclients is in the great majority of cases allready done by a simple webcontainer.
Use of remote ejb-clients and distributed transactions are rare exceptions.
It is somehow awful, to test ejb, because you need remote interface for test-client, but after testing you have to convert to local interface. The more, you can't get J2EE server for more than 30 days but JBoss that is not documented.
So give me back the faith please
What are the advantages?

Consultants are paid the GDP of a small country to answer questions like that! They'd examine everything from the throughput to the development team as well as the financial risk of concurrency/security problems.
Such a generic situation can only be answered in similarly generic terms:
J2EE is "worthwhile" if the costs/risks to your business inherent in not supporting concurrency and security combined with the costs/risks of redesigning the system to be scalable outweigh the increase in costs/risks of development using J2EE.
Since one side of this balance is almost entirely determined by the development of the application it isn't unreasonable to say that the abilities of the development team will be a major factor in whether J2EE will be "worthwhile" to your enterprise. A good J2EE development team will make light work of complex enterprise applications that another development team might struggle with (and most likely make a bad job of).
So, in general:
PROS: read the J2EE spec
CONS: if you don't need it then it's overhead (but isn't everything?)
It's horses for courses.

Similar Messages

  • What are advantage and disadvantage for Physical Standy and Logical Standby

    HI,
    What are advantage and disadvantage for Physical Standy and Logical Standby configuration?
    Thanks
    Ken

    Logical standby database
    The key advantage for logical standby databases is that they're opened read/write, even while they're in
    applied mode. That is, they can be used to generate reports and the like. It is indeed a fully functional
    database. Also, additional indexes, materialized views and so on can be created.
    However (this being a disadvantage) not all datatypes are supported.
    Oracle (or more exactly the log apply services) uses the primary database's redo log, transforms them into
    SQL statements and replays them on the logical standby database.
    Physical standby database
    A physical standby database is a byte for byte exact copy of the primary database. This also means that
    rowids stay the same in a physical standby database environment.
    Oracle (or more exactly the log apply services) uses the primary database's redo log to recover the
    physical database.
    A physical standby database might be opened read only; however, the received logs are in this case not
    applied. When the logs are applied, the database is not accessible (it is then in a managed recovery state).
    Regards,

  • What are advantage of using ARIS compare to MS Visio?

    Hi,
    what are advantage of using ARIS compare to MS Visio?
    How we can say ARIS is best for SAP implementaion?
    Pls let me know the details.

    Hi Anandh,
    There are a lot of differences between ARIS and Visio, however the main difference between these 2 products is that ARIS is a database in a client server architecture while Visio is a visual modeler with unstructured data.
    You could imagine then what you can do with information in a database like Aris: query the objects (processes, roles, activities, etc) by their attributes (owner, relationships), you can have several different views on the information, this is, the IT guy would like to see which IT systems are supporting the opperation of certain process while the COO would like to know in which countries are these proceses running.
    You may want to have a closer look to what we call the Enterprise Architecture (SAP EAF). This is not only the definition of landscape but the blueprinting of the whole organization, meaning Business, Data, Applications and Infraestructure Architecture.
    Have a look to this link also:
    SAP EAF: Aligning IT to Business
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0da74aa-6f2e-2a10-6387-edbf382f3f87
    Best Reagards.
    Oliver

  • What are advantages of i7 vs. i5 processor

    What are the advantages of an i7 over an i5 processor?

    I'm assuming that you want to know the differences between the i7 and i5 processors in terms of the MacBook Pros and not just in general. There's a $200 price difference between the i5 (2.53GHz model) and i7. With the i7 model, you get
    1.) Faster Clock Speed
    2.) An extra MB of L3 Cache
    3.) 2X the GDDR3 Graphics Memory (15 inch Models)

  • What are advantages including DSO in Data Modeling?

    Hi,
    I want to know what are the advantages of using DSO in data modeling?
    Thanks,
    Sri Arun Prian.

    Hi.......
    DSO is mainly use for data staging.............DSO has the overwrite option which we cannot get in Infocube.......
    Seen from a datawarehouse perspective the usage of ODS is essential if You wish to build Your DW architechture according to the principals of enterprise datawarehouse (short EDW).
    In general there are several advantages of building an Enterprise structure but most importantly:
    1) With the ODS You secure that You only extract data from the source once thereby reducing the performance load on the source. Data can be populated internally via the ODS object to reuse the extracted data.
    2) With delta it is very easy to reestablish a delta load from the ODS to the Datamart (InfoCube).
    3) With the ODS in place You can reduce the amount of data available in the Datamart thereby improving performance on You reporting structures.
    Notice that according to the Enterprise principals it is very important not to mix up an enterprise layer (ODS) with a staging layer. Typically the staging layer will be flushed after 1 or two days. The enterprise layer contains all historical data as long as required.
    Hope this helps.........
    Regards,
    Debjani.........

  • What are advantages/disadvantages of getting iphone through Apple store vs. Verizon?

    What advantage/ disadvantage is there to getting an iphone 6 through the Apple store vs. Verizon? Currently my provider, single plan and eligible for an upgrade. Think the $60.00/month of unlimited talk,text and 2GB data is what I'm interested in with Verizon. Thank You.

    I can't think of any significant difference if both stores are in an equally convenient location for you other than if you plan to purchase AppleCare +, it might be slightly more convenient to buy the phone at the Apple Store and buy that at the same time. http://store.apple.com/us/product/S4575LL/A/applecare-for-iphone

  • What are advantages of FCP over FCE4?

    Hi folks,
    I've been using FCE4 for the past 3 years. I've also used a pretty low-end camera, but am thinking about upgrading (Panasonic AG HMC150... it doesn't have 4:2:2 color). Typically, I do a lot of compositing when I edit. Will Pro Res give my final output better quality (DVD output)? Are there any other advantages to upgrading my software?
    Thanks,
    Vic

    Hi Martin,
    I will answer all your questions as accurately as possible. Bear in mind, however, that I use different settings in different situations, as you'd expect. In any case, though, it seems my end product, i.e. the DVD, had a rather weak video signal. As I've said, it's not jittery... but seems as though it's teetering on the edge... as if it's about to go jittery. I'm usually watching, saying, "I hope it doesn't start to flicker!" Not sure what anyone else is thinking, but to me it's nowhere near what I see on a rented DVD. Perhaps I'm expecting too much?
    Anyways, here are my answers to your questions:
    What settings on the HF 10?
    I typically use manual exposure and auto white balance. However, depending on the circumstances, I sometimes use one of the white balance presets (a "Fluorescent" setting, since it seems to give a good coloration)
    The lighting is often pretty crappy. I do real estate videos, and by necessity I shoot with whatever light I can get (i.e. turn on all lights, open drapes. That's why I use the Fluorescent setting; it seems to be a good balance for the various types of light). In shooting weddings, for example at the one I just shot, the lighting in the church was pretty bad. But, it's not that the video signal gets stronger for outdoor shots; rather, it just seems weak throughout. Anyways, as a result of the less than ideal lighting, the exposure was sometimes grainy.
    Is my HF 10 working properly?
    Yes, it sure seems to be. I very recently purchased an HF M400 and, man, what a friggin' difference! Still has a 1/3" chip, but WOW! I cut together a side be side comparison, and the difference is amazing. So, perhaps that will make a difference on my next shoot (which is this weekend).
    What's the nature of my compositing?
    I do play around with Picture in Picture type stuff; however, mostly, I incorporate still images (photos, logos, etc.) I don't have Motion or AE, so I do it right in FCE4. But, again, it's the quality (or, rather, the "strength") of the video signal throughout the whole DVD that seems weak, so I dunno if this is an issue.
    Do I apply filters in FCE4?
    Typically, no. I've experimented a bit, but really haven't incorporated any special effects, or for that matter, even any color correcting. Actually, when I tried to brighten the image (because, as I said, the church was kinda' dimly lit), I "undid" it because the video looked worse with the filter applied.
    Did I render the video before exporting?
    Yes. I always do.
    How did I export the video from FCE4?
    I tried it two ways: Export as a QT movie (stand alone); and Export as a QT movie (not stand alone). These were direct exports, not QT conversions.
    Settings in iDVD? I left it at the default, which was "Best Performance". Videos range from 5 mins. to 45 mins.
    What DVD player did I use?
    I used my own, which is a Samsung. And, also tried it at my buddy's house, but I don't know what brand he has. I believe in both cases, the machines were connected using the red, white and yellow cable (i.e. the standard connection, I believe you'd call it)
    Type of TV used?
    Both myself and my buddy still have the old CRT TVs. I have an HD TV (Samsung) which I use as an external monitor, but I don't have a way to connect my regular DVD player to it, i.e. it doesn't take the red, white and yellow connectors typically used on SD DVD players.
    Anyways, I'm not sure if you intended for me to provide answers to those questions; perhaps your were just giving me food for thought? In any case, you've convinced me that the problem is not with FCE4 or with iDVD, per se (though, perhaps the issue is in how I'm using... or mis-using... these programs). So, in that sense, you have answered my question: I should invest in a better camera rather than in the Final Cut Pro7 Studio. Because, ultimately, I just want to be able to give my customers a good quality DVD, and that's it. And, based on what I'm hearing/reading here, FCE4 and iDVD should do the trick nicely... and without the apparent complexities of learning yet more software, i.e. DVDSP and Compressor.
    So, thank you very much for chiming in! I very much appreciate your taking the time to help out. If you have any additional thoughts, I would love to hear them.
    Thanks again,
    Vic

  • What are advantages and disadvantages between Microstrategy 9 vs OBIEE 11g

    As a reference source exists the whitepaper "Compare to Oracle OBIEE":
    http://www.microstrategy.com/quicktours/oracle
    I haven't found a comparison version of the document written by Oracle.
    I'd like to hear unbiased opinions of colleagues on which of these two platforms is the best option for developing BI applications.

    Hi,
    Regarding license issue, we might make a contact to the
    Microsoft license support team or the customer support:
    http://support.microsoft.com/ContactUs
    Best regards
    Michael Shao
    TechNet Community Support

  • What are the advantages stateful session beans takes over than HttpSession

    Hi
    We can use HttpSession to maintain the conversational state with the client.
    Then why we need to go for stateful session beans to maintain conversational state with the client.
    What are advantages we can have while using stateful session beans ratherthan HttpSession????.
    Regards
    Dhinesh kumar R

    I think we can use the magic word in the software development "seperation of concerns" ;-)
    HttpSession is in the Servlet/JSP tier and is mainly used in the presentation logic tier (UI, page flows, navigation etc..)
    where the stateful session bean's concern is to maintain a conversational state in a business logic tier.
    Through this seperation its possible, that the business tier's state is undependant from the HttpSession and you dont create a hardlink that could cause problems later. Imagine having a desktop client accessing your business logic etc. not every client needs to be a web client ;-)
    I hope that the answer helps you understanding the topic :-)
    Brgds,
    Nail

  • What are the advantages of using ENC for a datasource

    Other than eliminating a tight binding between a EJB and a datasource , what are
    the other considerations and/or advantages of using JNDI ENC to define a datasource
    reference vs a direct lookup of a Datasource in the EJB implmentation?
    For example, are their performance advantages by the datasource being cached in
    JNDI ENC?

    Hello Bryan,
    Basically the main advantage is to not have the tight coupling between the EJB
    and the particular JNDI name that it's bounded to. Please refer to a previous
    post where I addressed this issue (perhaps a few days ago on this newsgroup).
    In addition, you will always gain performance improvements by caching the remote/local
    home objects for your EJBs.
    Best regards,
    Ryan LeCompte
    [email protected]
    http://www.louisiana.edu/~rml7669
    "Bryan Boyer" <[email protected]> wrote:
    >
    Other than eliminating a tight binding between a EJB and a datasource
    , what are
    the other considerations and/or advantages of using JNDI ENC to define
    a datasource
    reference vs a direct lookup of a Datasource in the EJB implmentation?
    For example, are their performance advantages by the datasource being
    cached in
    JNDI ENC?

  • What are the advantages of compressor and it it even necessary

    what are the advantages of compressor and it it even necessary?

    Necessary for some and not for others – probably a large majority – who can by with the presets avalaible in FCX.
    The users who need Compressor are those who want to control the parameters of the encodes to get the best possible trade-off between file size and quality. Or those who want to do things like standards conversions, complex frame speed changes, better re-scaling capabilities, de-interlacing, re-interlacing, output formats beyond which are available in FCX, chapter markers for DVD and Blu-Ray authoring, batch conversions for multiple purposes through droplets, access to clusters for faster rendering.
    Russ

  • What are the advantage of using a passive monitoring technique ?

    What are the advantage of using a passive monitoring technique

    Hi Plawansai,
    I saw your question that is still unanswered.
    I believe an advantage of using a passive monitoring technique is that it won't interfer with live traffic, as it does not inject traffic into the network or modify the traffic that is already on the network.
    One drawback anyway, is that post-processing time can take a large amount of time with passive monitoring!
    A combination of the two monitoring methods seems to be the route to go.
    V.

  • What are the advantages of WiFi + cellular as to just WiFi devices

    What are the advantages of WiFi + cellular as to just WiFi devices

    Advantages of Wi-Fi and cellular iPad.
    1. You can use it in places without Wi-Fi.
    2. The cellular model have GPS.

  • What are the advantages of varying write speeds and burn speeds?

    What are the advantages of varying write speeds and burn speeds?

    The slower the speed, the fewer burn errors (or, in other words, you'll burn fewer "coasters"). I've always tried to burn at a slower speed, i.e. 2x - 4x. I'd rather wait a few minutes more and I've never had any burn errors.

  • What are the advantages of moving from Tiger to Leopard?

    Hello all,
    I currently have an iBook G4 Mac with 1.25MB RAM and a 1.2GHZ processor running Tiger 10.4.11. I was thinking of upgrading to Leopard in order to get the longest life out of my system before I can afford a Mac. Before I take the pluge I'd like to consider what the advantages of the new operating system are, and it seems to me that the additional advantages are not too clear from the official documentation and Apple Store.
    My system will not run Snow Leopard from the system requirements that seem to be coming out so I think this would be the best step to keep my Mac going and compatible for new software that I use for student work, which is primarily musically orientated plugin's and software for midi controllers and mixing. Do you think it would be worthwhile upgrading my system and it will be fast enough for efficient use?
    Lastly if I do upgrade, what is the best way to install the new system while trying to preserve current applications and folders. Would it be best to use data migration to a external hard-drive and back again, or is there an easier way to maintain the system applications and files.
    Thanks,
    Robert

    See the list of the 300 new features in Leopard and then decide if they are worth it to you.
    Whenever I upgrade, I do an "archive & install". It will move your previous system files to a "previous systems" folder and install a new system from scratch. You can also have it preserve user and network settings, which is what I always do. It makes for a very smooth and reliable install with a minimum of fuss.

Maybe you are looking for