Newbie question (I think you can answer me)

Hello.
I am a newbie about EJB. But I am teacher of a Java course and I have
introduced EJB to my students. I have said them that EJB is good for big
applications but, when the application is small, is overkill (I read this in
several books). But then a student has asked me (I don't know how to
exppress the sentence in English) "How big has to be the application in
order to take advantage of EJB?". I mean: EJB is overkill for an application
with two concurrent users. But, if concurrent users are thousand, it is
necessary. Where is the limit between two situations? Of course, there is no
exact limit but it must exist some QUANTITATIVE parameter.
I had no reply for my student. Good question but no answer. I said that I
will look for this information.
I am getting mad looking for this information in Internet. I have seen no
studies that study such a basic question. Even it has been impossible to
find "a ballpark estimate". I seen EJB FAQs, pages, books about EJBs, but I
found nothing. Any information of this kind would help me a lot.
So, please, can anybody help me?
Any help would be greatly appreciated.
Thanks,
Pau Vic.
(I sent a former copy of this message to an unrelated thread. This was a
mistake. Please excuse the inconveniences)

Thank you, Ji.
Pau Vic.
"ji zhang" <[email protected]> escribió en el mensaje
news:[email protected]...
>
Hi Pau.
How big has to be the application in order to take advantage of EJB?There is no measurement standard for developers to decide the utilizationof EJB
in their applications. It is clearly unnecessary to develop a nonenterprise application
for only few ( as you mentioned 2 ) routing users with EJBs.
The question is more likely why using EJBs. Few major considerationslisted below:
>
1) A real production internet application is getting to rely on anapplication
container ( for example: #1 application server WebLogic ) to handleunderly resources,
backend works and Object life cycles.
By using EJBs, EJB container handles the sophisticate backend jobs foryou.
Developers may only focus on their business logics.
2) A real production internet application may be also a combination ofsome reusable
logical components. To reduce the application development hardness,modeled and
specification oriented plugable components such as EJBs may be used. Thatis also
why the EJB component vendors exist.
3) There are concepts of scalability and high availability in realproduction.
EJB components can be easily deployed to be scaled and load balanced inthe EJB
containers in a cluster. Fully implemented Weblogic Cluster is a goodexample.
>
There may be other advantages of using EJB as well.
Thanks.
Ji Zhang
Developer Relations Engineer
BEA WebLogic Support
"Pau Vic" <[email protected]> wrote:
Hello.
I am a newbie about EJB. But I am teacher of a Java course and I have
introduced EJB to my students. I have said them that EJB is good for
big
applications but, when the application is small, is overkill (I read
this in
several books). But then a student has asked me (I don't know how to
exppress the sentence in English) "How big has to be the application
in
order to take advantage of EJB?". I mean: EJB is overkill for an
application
with two concurrent users. But, if concurrent users are thousand, it
is
necessary. Where is the limit between two situations? Of course, there
is no
exact limit but it must exist some QUANTITATIVE parameter.
I had no reply for my student. Good question but no answer. I said that
I
will look for this information.
I am getting mad looking for this information in Internet. I have seen
no
studies that study such a basic question. Even it has been impossible
to
find "a ballpark estimate". I seen EJB FAQs, pages, books about EJBs,
but I
found nothing. Any information of this kind would help me a lot.
So, please, can anybody help me?
Any help would be greatly appreciated.
Thanks,
Pau Vic.
(I sent a former copy of this message to an unrelated thread. This was
a
mistake. Please excuse the inconveniences)

Similar Messages

  • How to changed old apple ID in AppStore? I've already creat new one's but when I go to the AppStore the old apple ID always appear. Hope you can answer my question. Thanks godbless

    How to changed old apple ID in AppStore? I've already creat new one's but when I go to the AppStore the old apple ID always appear. Hope you can answer my question. Thanks godbless

    No, your accounts will remain separate, any content that you download via either account will be tied to that account - so each account will only be able to authorise its own downloads on your computer's iTunes, redownload them, download updates to its apps, and make in-app purchases in its apps.
    Is there are particular reason why you've created a new account ? If it's due to, for example, no longer having access to your old email account then you can update the email address on an account by tapping on the id in Settings > iTunes & App Store and selecting 'view apple id' on the popup and logging into it, via the Store > View Account menu option on a computer's iTunes (click the Edit button to the right of your id at the top of your account's screen), or via http://appleid.apple.com . If you want to re-use the email address on the account that you've just created then you will need to change that first

  • HT1550 i have the newest version of itunes and none of that works!!! i dont know where the advanced menu is and i dont think you can select a song anymore

    I have the newest version of iTunes and none of that works!!! I don't know where the Advanced Menu is. And I don't think you can select a song anymore. I need to make WAV Files to put them on Windows Media Player so i can download music on my Samsung Intensity 2.

    Try placing the iPod in recovery mode and then try to restore. For recovery mode:
    iPhone and iPod touch: Unable to update or restore
    If iTunes still does not see the iPod try:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows

  • So you think you can Dance

    Can anyone tell me if last nights episode (7/19) is availabe for purchase on itunes (storm coverage so I didn't get to see much)? I'm at work and don't have itunes installed on my computer.
    Thanks,
    Carrie
      Windows XP  
      Windows XP  

    I could be just missing it somehow, but I don't see any episodes of "So You Think You Can Dance" available on the iTunes Music Store at all.

  • You think you can earn money by stealth? Trying to install that stupid software by Norton. No way buddy!    You can stic

    You think you can earn money by stealth? Trying to install
    that stupid software by Norton. No way buddy!
    You can stick it where no sun shines!
    I will pester you just as you have pestered me!

    quote:
    Originally posted by:
    dontbesilly22
    You think you can earn money by stealth? Trying to install
    that stupid software by Norton. No way buddy!
    You can stick it where no sun shines!
    I will pester you just as you have pestered me!
    You think you can earn money by stealth? Trying to install
    that stupid software by Norton. No way buddy!
    You can stick it where no sun shines!
    I will pester you just as you have pestered me!

  • Where is the so you think you can dance page?

    where is the So You Think You Can Dance page? I cannot find it anywhere.

    Forget hotel technical support. All they'll do is refer you to a toll free number to the other side of the globe where somebody will tell you to click a Start button, or something. It's an utter waste of time.
    What you describe is a "captive network" and yes, the need to authenticate each and every time you shut down your Mac or let it sleep is a common annoyance. The IT idiots that sold the Internet package to the hotel chain is long gone. Complain to whomever you can find, and perhaps one day they'll address their own incompetence. Until then keep your Mac connected, don't shut it down or let it sleep. Even then you may find yourself logged out from time to time, which you might not even become aware of until web pages stop loading. You can do nothing to fix it, other than to refuse to frequent that hotel chain. Be sure to tell them why.

  • I forgot my security questions, any way you can look them up on your records?

    It is my first purchase on this device and it says I need to answer questions, I forgot my answers because ive been using my iPad and didn't have a problem. Please Help!!!

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a valid rescue email address, then use this procedure:
             Rescue email address and how to reset Apple ID security questions.
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
         4. Account security issues almost always require you to speak directly to an
             Apple representative to securely establish your identity as the account holder.
             You can set it up so that Apple calls you, either immediately or at a time
             convenient to you.
                1. Go to www.apple.com/support.
                2. Choose Contact Support and click Contact Us.
                3. Choose Other Apple ID Topics and choose the appropriate topic for
                    your issue.
                4. Follow the onscreen instructions.
             Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                            Apple ID- All about Apple ID security questions.

  • New to iPhone...Have a question that hopefully someone can answer...

    Hello,
    I am a fairly new iPhone user and I have a question. In order to purchase songs from iTunes and get them on my iPhone do I have to download iTunes directly onto my iPhone and do it all through my iPhone? The reason I ask this is because I purchased a few songs from iTunes on my home computer and when I synced my iPhone it said that those songs were not transferred because it is not allowed on more then one machine. Please help???

    Larla,
    Did the message mention some songs could not be transferred because they are not authorized to play on this computer? If so, you can authorize the computer if you haven't authorized five computers already. If you have already authorized 5 computers, you can deauthorize all, and then reauthorize up to 5 computers.
    To authorize this computer go up to the Store menu in iTunes, and choose "Authorize Computer". You will be prompted to enter your iTunes Store account username and password. Once it says the computer has successfully been authorized, you can then sync your iPhone with those songs.
    If you got a different error message, please reply with it.
    Hope this helps,
    Nathan C.

  • You think you can do it?

    i need to figure out what to use here,
    imagine there is a panel, and inside of the panel there is a small oval moving like in right-left mechanism,
    on the top of the panel there are located several
    rectangulars along side of the panel,
    when the oval in a conveyer belt moves, everytime it passes through those rectangulars i want them to change the colors,
    do you get what i'm talking about?

    well, yes, ok i know you can do it,
    but i actually came to this forum for help...Okay. What specifically do you need help with? If it's just general guidance you're looking for, check out the following:
    The Java� Tutorial - Trail: Learning the Java Language
    The Java� Tutorial - Trail: 2D Graphics
    The Java� Tutorial - Trail: Creating a GUI with JFC/Swing

  • Eclipse question if you can answer

    Just curious. where can i find the generated servlet code in eclipse? Like i have a j2ee project in eclipse name JSPEXAMPLE and then i have a jsp page which is in JSPEXAMPLE/WebContent/WEB-INF. i have this jsp code.
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <%@ page import = "java.util.Calendar" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    The server time is now
    <%
      Calendar now =Calendar.getInstance();
      int hour = now.get(Calendar.HOUR_OF_DAY);
      int minute = now.get(Calendar.MINUTE);
      if(hour<10)
           out.println("0" + hour);
      else
           out.println(hour);
      out.println(":");
      if(minute<0)
           out.println("0" + minute);
      else
           out.println(minute);
    %>
    </body>
    </html>I would like to see my generated servlet. i can't find it anywhere. Any ideas?

    It's nothing to do with Eclipse, your sevlet container compiles JSPs. Refer to the docs for whatever container you're using to see where it puts them, or Google it. I can't remember where Tomcat puts compiled JSPs, sorry!
    Be prepared to see some pretty ugly code though :-)

  • If you can answer this you must be some kind of iTunes God

    It is said that anyone who could answer these questions must be the iTunes God as prophecied since the creation. The creation of iTunes, that is. While editing a smart playlist, how can one set the limits of 'last played' songs in the range of certain hours of the day rather than certain days. For example all songs last played between the hours of 12am and 6am on any given day. Also, is it possible to create options such as this if it does not exist, and define it in terms of macros or the like?

    He who created the great and shiny iTunes did not allow the beleavers to filter their tunes of diversion by the very minute those divine songs were played. For this unholy feature was only practiced by heathens and the followers of mammon.
    So much for gods intentions ...
    Now seriously, iTunes does not keep tracks on which time you used to play a certain song on several days. The only thing that is kept is the last time that song was (entirely) played.
    So, until Apple coders integrate that feature, it is - plain and simple - impossible.
    "But fear not!" the prophet said "Do not abandon hope! Send prayers to the allmighty creator and you all shall receive!"
    Windows XP Pro

  • Two questions I hope someone can answer?

    Question #1
    When using pages, I can no longer rotate the photos as I used to. Now the photos are either vertical or horizontal, but I cannot angle them. Help?
    Question #2
    My student families appreciate the photo emails I send along. Recently, some families (they are working on Macs too) receive the emails but with an x where the picture should be. Any idea what is going on?
    Any suggestions or help would be appreciated.

    Thanks so much for answering the first question. Seems obvious now - you have saved my newsletter!
    The second question. I could save the photo as a pdf as an attachement but I am not sure I know how to do so for the cute mac mail I like to send ... with photos that I typically just drag in.
    I wonder why it has worked beautifully for six months (how long I have been a mac user) and suddenly, poof, it works for only some. I send many photo emails :-(
    Also, interesting that most who cannot view my photo emails are mac users using mac mail. Some can view it on their iphones, but not their macBooks, others vice versa. Weird.

  • Newbie question... Can I limit the number of users ...

    Can I limit the number of users accessing a URL?
    My company wants to start making videos available on our intranet web site. Once published, they are planning to send an email to all our employees (5000+) to announce the video. That's a great idea... but who asked the network guy if the network (server too) can take the load? NOBODY.
    Short term solution... can I limit the number of concurrent users hitting a URL? And if possible, can I push a message to the users that try once the limit is reached?
    Limiting the bandwidth is an option, but I will trash the user experience.
    Long term solutions besides bandwidth increase? Cashing servers, WAN accelerators...?
    Help !!!

    This is really not a problem for the WSA to solve.  Typically the WSA is used to control content and provide security for external internet content.  The product does not have the feature you describe.
    However, when it comes to the internal hosting of content - since you are using an internal server, that server should be able to control the amount of traffic it servers, number of connections, etc.
    ~Tim

  • Hi, Johannes Henseler, i think you can help me....

    I've just saw your magazine DONE, it's very very beautiful. Could you let me know how did you make the twitter/facebook links? Html5?
    Many tks,
    Renata

    Hello Nada,
    Sorry to hear you're having issues with System Preferences. Can you tell us a little bit more about your configuration? Such as:
    1.) Did you recently update the OS within the same release (10.7.3 -> 10.7.4)?
    2.) Did you recently upgrade the OS to a newer release (10.6.8 -> 10.7.x)?
    3.) Any 3rd party applications that have icons in the bottom row "Other" that you're aware of installed to the user?
    Do you have another user account on the machine? If so, can you login to the account and access System Preferences? Have you tried setting System Preferences to run in 32-bit mode?
    Here's a helpful link that explains how to launch a program in 32-bit mode -
    http://www.simplehelp.net/2009/09/15/how-to-run-os-x-programs-in-32-bit-mode/ (Substitute Safari for System Preferences).

  • I can't open a tab (tabblad in Dutch), only by clicking another one away, my Awesome bar isn't working any more and I can't scroll while watching web sites. what's wrong? (I hope you can answer me in Dutch...)

    Ik kan geen tabbladen openen als ik erop klik, alleen als ik een andere wegklik, dan kom ik automatisch bij het andere tabblad aan. Mijn 'Awesome bar' werkt ook niet meer en het viel me op dat ik ook niet meer kan scrollen met de muis als ik webpagina's aan het bekijken ben.

    You have Acrobat Pro on your system. It will try to open PDFs, and of course it will fail. You must uninstall it. Then, you will need a PDF reader. So install Adobe Reader. That seems quite simple, but perhaps something is wrong. If anything goes wrong with these two steps (1) uninstall Acrobat Pro (2) install Adobe Reader, then please let us know the details.

Maybe you are looking for