Is java powerful enough to be used as a Gameserver?

Simple question.
I know that it's probably better to use something else as a backend, like C++, or C#. But, is it realistic to create a gameserver in java?
I mean, starting out... I just want to be able to create a chatroom and stuff like that to learn. I have a background in ActionScript 2-3, php, mysql, xhtml(strict), etc...

iceflyin wrote:
I know that it's probably better to use something else as a backend, like C++, or C#. But, is it realistic to create a gameserver in java?I don't know. Everywhere, companies are creating huge-a$$ enterprise applications in Java on application server clusters, and they run pretty well. Maybe they should listen to the "common knowledge" and write it all in C++ "because it's faster".
You know, you're making two wrong assumptions
1) Java is inherently slow performance
2) software performance matters
Because if it runs slow, guess what the companies will do: buy more hardware. Hardware is cheap.

Similar Messages

  • Anyone using a Mac Mini and LE8-Is it powerful enough?

    I'm looking at buying a 2.0GHz Mini and LE8. I have a monitor and an external 500 GB FireWire hard drive. Just wondering if anyone is using a similar set-up to do large recording projects on. Is it powerful enough to have 20 to 30 audio tracks in a song?
    Any input would be greatly appreciated. TIA
    R

    Yes.
    I run a 2Mhz mini(or possibly 1,86MhZ) 2GbRam mini and LE 8.01.
    With Apogee Duet.
    It works ok. I occasionally get overload messages - particularly if I try to run a project immediately it opens (LE seems to take a while to load all tracks of a project) - have some projects with 20 tracks - as do the provided examples.
    It records fine - voice and guitar, and midi through USB port and midi adapter.
    Prior to Duet I use standard i/o ports for in/out audio.
    I do not run projects off the my external firewire drive - although the examples work fine in play back mode - I doubt if it would work for complex project re recording - possibly too much contention - and the Duet has my firewire port used.
    Freezing tracks helps, and a bity of patience as everything gets paged in.
    Your mileage may vary.
    Hope this helps
    Message was edited by: MrARH

  • I am considering a base 21" iMac ($1099 @ Best Buy) for home use.  It would be my first Mac.  Is the base model powerful enough for everyday home use and some light video editing or should I upgrade the CPU, Ram and to a Fusion drive?

    I am considering a base 21" iMac ($1099 @ Best Buy) for home use.  It would be my first Mac.  Is the base model powerful enough for everyday home use and some light video editing or should I upgrade the CPU, Ram and to a Fusion drive?
    Purchasing with the upgrades through Apple would add about $800 over the Black Friday deal at Best Buy.  Just looking for some advice if I will be satisfied with the based model.

    All models will do what you want. Upgraded models will do it faster than the standard models.
    Just why are you thinking of switching to a Mac?

  • Are the MBA's powerful enough to use an Intuos4 with them effectively and not notice lag?

    Does anybody have any experience using an Intuos4 Wacom tablet with the first gen MBA 11.6" from 2010? I was curious if they're powerful enough to keep up with natural brush strokes, in sketchbook pro and artrage, the MBA's cursor seems to lag a little bit when making strokes on the trackpad.
    Thanks in advance.

    Here's the spec page on your G3 Pismo - http://www.everymac.com/systems/apple/powerbookg3/stats/powerbook_g3_400fw.html
    The max OS on the Pismo is Tiger 10.4.x Even if the Pismo could run Leopard 10.5, it would be slow. Snow Leopard 10.6 requires an Intel processor.
     Cheers, Tom

  • Open connections between AS Java and AS ABAP when using JRA

    Hi, we have a problem with open connections and hope that someone here could give me hint where to find a solution.
    The situation is that we open a connection from a Java application to an AS ABAP. In detail, the application first connects to a statefull session bean on the AS Java by RMI. The bean communicates with the associated AS ABAP by the Java Resource Adapter (JRA).
    All interactions between all components work correctly. But even after we close the application, manually close of the connections (on side of the AS Java) , remove all created and used session beans there are still open connections between the AS ABAP and the AS Java.
    The transaction smgw (Gateway Monitor) shows open connections from jlaunch to our local SAP gateway using the internal communication protocol. Obviously, the established connections are not closed, even when they are open for a week or longer.
    After opening 100 connections, the AS ABAP denies additional connection attempts.
    We have been able to close all open connections by restarting the AS Java or by restarting the Connector over the Visual Administrator (path: Cluster – Server – Services – Connector Container – “select the right connector” – stop / start).
    We have developed our application similar to the tutorial from [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad09cd07-0a01-0010-93a9-933e247d3ba4]
    Can someone explain to us why the connections stay open for so long? Is there no timeout mechanism? Or is there some way to close the connections from our Java application?

    Hello,
    maybe someone can help us with our problem.
    We have developed our application similar to the tutorial from https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad09cd07-0a01-0010-93a9-933e247d3ba4 and it was running without problem with the SP12, now we change our system to SP16 and we are having the problem described in note 1083348, but as you can see, for us it was working with SP12 and now it doesn't work with SP16....
    Here is part of our code....
        public List getAll() {
            String functionName = "bla";
            try {
                openConnection();
                MappedRecord response = (MappedRecord) interaction.execute(null, request);
                MappedRecord record = (MappedRecord) response.get("E_S_RETURN_CODE");
                if (((String) record.get("RETURN_CODE")).equalsIgnoreCase("E")) {
                    throw new SQLException((String) record.get("RETURN_TXT"));
            catch (ResourceException exc) {
                throw new EJBException(".");
            catch (SQLException exc) {
                throw new EJBException(".");
            finally {
                closeConnection();
        protected void openConnection() {
            try {
                connection = connectionFactory.getConnection();
                interaction = connection.createInteraction();
            catch (ResourceException exc) {
                interaction = null;
                connection = null;
                throw new EJBException(getExceptionText(exc));
      protected void closeConnection() {
           try {
                if (interaction != null) {
                    interaction.close();
                if (connection != null) {
                    connection.close();
            catch (ResourceException exc) {
                throw new EJBException(".");
    With that code we are getting this error: "Connection handle is already closed and no longer associated with a managed connection" everytime we try to close the connection in the method closeConnection().
    We were thinking that maybe we should not close the connections, because the were already close, and tried not to close the connection (connection.close()), but then after a few time we are getting the following error, because we are not closing the connections:
    Connection to ABAP System could not be opened, because the Connection Factory returns "Cannot get connection for 120 seconds. Possible reasons: 1) Connections are cached within SystemThread(can be any server service or any code invoked within SystemThread in the SAP J2EE Engine), 2) The pool size of adapter "eis/..." is not enough according to the current load of the system or 3) The specified time to wait for connection is not enough according to the pool size and current load of the system. In case 1) the solution is to check for cached connections using the Connector Service list-conns command, in case 2) to increase the size of the pool and in case 3) to increase the time to wait for connection property. In case of application thread, there is an automatic mechanism which detects unclosed connections and unfinished transactions.". Please check the connection defined for the Connection Factory of the Java Resource Adapter with JNDI name...
    Any help?

  • Is MacBook Air powerful enough to run Creative Suite?

    I have just about about finished my 30 day Creative Cloud Trial and will sign up. However, I am also in teh process of choosing a new macbook to  run it on. I don't have a laptop at the moment I have been using my iMac for everything. What I want to know is, is the new MacBook Air which was  launched yesterday  powerful enough to run Adobe creative applications? A macBook Pro seems like the obvious choice but as this is my second computer and I wont use it as much as my iMac  I am mainly focusing on weight  and price - I wil mainly use it when travelling a couple of months each year but I still need to work effectively with Creative Cloud. Can you please advise?

    Yes, any MAC which is above 10.6.8 can run Creative Cloud.
    The tech specs for various CS 6 applicatons can be checked over here :  http://www.adobe.com/products/creativecloud/tech-specs.html
    Hope this will help you decide better.!!

  • Is an MBP powerful enough as an upgrade ?

    I currently have a Powermac G5 (dual 2Ghz) that I would like to pass on to my wife.
    Is the MBP powerful enough to be considered an upgrade to the G5 ?
    I primarily use it for Lightroom, Photoshop CS2, Final Cut Express HD, Xcode and WoW. I can accept Photoshop and Final Cut Express being slow due to emulation until next year when CS3 is released. All of the others are univeral binaries.
    I think one of my big issues is around disk capacity and performance... Is there any way to hook up a couple of large SATA disks to an MBP ?
    Does this seem like a feasible upgrade or would I have to look at the Mac Pro ?

    I wnt from a G4 tower to a Core Duo Macbook a few months ago & picked up a C2D 2.33 MBP last night. I can tell you a fair bit about real-world performance comparisons between these machines & a friends G5 dual where rendering in After Effects is the test.
    To start, I rendered a vector-heavy project on my old G4 867mhz tower, & it took 27 minutes. The same project on the first Macbook (single Duo) took 11 minutes, & then just over 5 minutes on the dual G5. This was enough to prompt me to start using the macbook for work as well as @ home surfing etc. that I had originally been considering it for. With a large external monitor & a stand it sets up nicely as a workstation.... After using it this way for I while, I realized having my computer & work files wherever I was was a HUGE benefit to my freelance animation business. I have set the macbook up & rendered with it in the trunk of my car while I went grocery shopping, how cool is that?
    ANYWAY, to get to the real point, having just picked up the MBP last night, one of the first things I did was load After Effects & re-render a project that I had built on the Macbook, & rendered there in 3 hrs. 40 minutes. On the MBP, it took 2 hrs 10 minutes, & probably puts it in line with the performance of that G5 now, I would speculate. When the universal Adobe apps come out? This thing will be PLENTY fast for my needs, & portable as well!

  • Processor powerful enough to run Premiere Pro

    I would like to purchase an HP Pavillion p6-2014 to run PP. I am unsure, however, if the processor is powerful enough: it uses the AMD A6-Series. Does anyone know if this will work? The tech specs are here http://www.bestbuy.com/site/HP+-+Pavilion+Desktop+/+AMD+A-Series+Processor+/+8GB+Memory+/+ 1TB+Hard+Drive/3641602.p?id=1218422886714&skuId=3641602&st=p6-2014&cp=1&lp=1

    Unfortunately, that system still falls below Adobe's minimum requirements for Premiere Pro CS5.x. The A6-3600 CPU is, if anything, slower than some of the Phenom II quad-core CPUs - and all of the Phenom IIs (and Fusions) lack full support for SSE 4.x instructions that CS5.x makes great use of. Even worse, that system has only one single hard drive for absolutely everything (which will make Premiere Pro not run properly, at least to anybody's satisfaction). You will need three or more fast internal hard drives for Premiere Pro to function satisfactorily. And that system does not have a discrete GPU at all, let alone an Nvidia GPU, so CS5.x will only run in MPE software-only mode. And its included 8GB of RAM is barely enough to run CS5.x adequately.
    In other words, that system is cheap - and performs exactly that way. You get what you pay for, in this particular case. A $400 system - desktop or laptop - is just not powerful enough for video editing unless all you're working with is standard-definition DV from tape (and that requires the purchase of a Firewire 400 card in addition to the system, in this particular case).

  • Is the 2.53Ghz New 13inch macbook pro powerful enough ?

    Is the 2.53Ghz New 13inch macbook pro powerful enough for basic photo/video editing ?
    Sincerely

    No problem paulcurtis. Typical story, if I'd waited a couple of weeks or a month, I could have gotten for 300 less a refurbed 2.53 with the discreet video card with 512 MB of vid ram. As it is, I have a discreet card with 256.
    All the MBP from late 2008 onward have a Nivdia 9400 Video chip on-board, meaning integrated with the motherboard. These cards share 256MB of ram with system ram. The extra discreet card is a Nivdia 9600 card. My model came with 256MB of its own dedicated ram. So when I'm on battery, I use the 9400 because it uses less electricity. When plugged in I use the 9600 with 256 as it provides significantly better performance. I believe that when Snowbird comes out, that apps written for it, especially creative apps, such as Photoshop, Final Cut Express, Aperture or Lightroom, or going to put more of the processing onto the video card. In that case the more ram on the video card the better.
    If I was buying today, I would get a refurbed 2.53 or 2.66 with the 512 MB version of the card. Now you can get those same models for the price I paid for my 2.4. they also come with more Ram 4GB and more onboard cache 6MB as opposed to 3. The cache is the fastest memory on the system and like ram, the more the merrier. Don't get me wrong, I love this Macbook and don't regret the purchase at all. In fact it's become my main computer now. but that's the way of computer world.
    The refurbed macs are a real deal, in my view. And if you are going to do any kind of Photoshop or use so-called "Pro" apps beyond iLife, the dedicated graphics card will be a plus. Likewise for playing games.
    Hope that helps.

  • Powerful enough for Aperture / PSE / Pixelmator?

    Just asked a similar question over in the Aperture community but from the hardware perspective do users of high spec Air's (13 inch I'm thinking) find it powerful enough to use Aperture and various plug-ins (Nik or Topaz say) and editoros like PSE or Pixelmator or would I be better getting a pro?
    I use a quad core i7 iMac at home so am used to being able to run pretty much anything I want - I don't overload it by any means but want to keep my current workflow when I'm out and about hence the queston. The lighter air would be preferable for other reasons but if it can't cope then the pro it is.
    Many thanks all,
    James

    I've used both a 2009 MBP and a 2011 MBA to use those programs. Yes, my iMac is noticably faster with some functions but not so much that I think to myself, "Nah, I'll wait to edit that photo when I get home."
    Actually the 13" display is more annoying (after using a 21" and 27" iMac) than the speed. The MBA is not a netbook. It is an incredibly powerful computer in a small package.

  • Is Mac Air powerful enough...

    So I have been a pc user for forever and am seriously considering switching to mac. Ultimately, my goal is to use the computer for web surfing, word documents, and music/videos. Obviously most computers will be able to achieve this, however, I am more concerned with my music/video set-up. I have a drobo system that has a ton of movies files on it that I am trying to link up to play wirelessly on tv's in multiple rooms.(sorry if this is the wrong section to pose the question, but was uncertain where else it should be applied since it fits many different categories). Ideally, I would use an airport express with drobo attached via usb to transfer data to an apple tv. All of this would hopefully be managed by the mba. However, I wasn't sure if the MBA is powerful enough to be able to manage this type of system or if anyone has an easier way to be able to set something like this up?

    Ok - so first off - to play DiVX you will need to modify the OS that is on the Apple TV - It can't be discussed here on the forum - but google is your friend. Modifying the Apple TV will still leave all of the iTunes functionality of the device working - it will just allow Divx movies to play also.
    Basically - what you would do is attache the Drobo to the Airport - which would then be viewable as a drive on your MBA through t eh OSX Finder (just like a network drive attached in WIndows).
    Then - once you have your movies - you just send them wirelessly to the Drobo as you mentioned.
    You would need an FTP program - I prefer CyberDuck.
    Now - when you want to store divx movies on the apple tv you just attach the drobo as a drive to your MBA through finder (network it) - then FTP into the apple tv and then drag the movies from the drobo to the AppleTV and they transfer there wirelessly.
    The apple tv (after modification) would also have the ability to have a usb2 powered HDD/storage device attached to it (so - if you had a 2tb drive of all divx it could be plugged directly into the appletv) and you just navigate the appletv with the supplied remote or logitech harmony remote.
    what i do is hdd directly into appletv. then ftp directly from my MBA to Appletv.
    Hope this helps.

  • Is Prentium D Dual Core 3.0 powerful enough for CS3?

    Is Prentium D Dual Core 3.0 powerful enough for CS3?

    Yes, Mobotu, I found P Pro 2.0 and Aspect 5.0 much better than 1.5.1 and 4.25 if for no other reason than it fixed the color/saturation shift when I played videos from the timeline without having to monkey around with that overlay playback setting. And it fixed the slight stuttering that the audio used to make when I first started playing a clip in the timeline. Beyond that, it has some other little nifty improvements, multicam, and a flexible window interface. I just received my free CS3 upgrade yesterday (due to a special promo when I bought ver. 2.0 a few months ago), so I will see how that works with Aspect HD 5 now. I also finally get a free upgrade included for my aging version of Encore 1.5 to Encore CS 3.0 and I will also see if I can find any use for On Location as well.

  • Blu-Ray, is the MacPro powerful enough?

    I have been waiting 3 years for a new Mac that offers the same video editing programs and supper speed for editing HD video as is currently offered for SD on older Macs.
    I have been editing video on my Mac for years, making all my PC friends jealous. iMovie and iDVD make and creating a "standard" DVD fun, easy and fast.
    Now, I am ready for HD.
    I am NOT speculating, or expecting any of the below, but I am GROW IMPATIENT!!!
    Are the current MacPro's powerful enough to make and creating 1080p HD fun, easy and fast plus burning full length HD movies to Blu-Ray?
    I assume companion programs in iLife (e.g. iHDMovie and iDVDHD) which I again assume will be offered as part of Mac OS X v10.5.? Leopard.
    Or am I doomed to wait another 5 or 6 years?

    Why have you been waiting? Everything needed has been available for about two years. HD-DV cameras can connect via FireWire. If you want it uncompressed, you can use a PCI-e card
    <http://store.apple.com/us/product/TP150LL/A?fnode=MTY1NDExOA&mco=MjIzODEzNA>
    iMovie and FCP can edit in HD. You can record the result back to the camcorder via FireWire, burn HD onto a DVD, or onto a Blu-ray disc with Toast
    <http://www.roxio.com/enu/products/toast/pro/overview.html>
    A Blu-ray drive can be installed in the second optical slot, or in an external case.

  • Jdeveloper java.lang.IllegalStateException: A column used in a constraint m

    I have a database diagram. I tried to move the offline database to online database and got the following error. not able to do anything after this
    is there a way to find out which table has the problem
    this is the error
    java.lang.IllegalStateException: A column used in a constraint must exist in the relation
         at oracle.javatools.db.ColumnConstraint.getColumns(ColumnConstraint.java:89)
         at oracle.javatools.db.diff.ColumnConstraintDiffer.diffColListForceSame(ColumnConstraintDiffer.java:95)
         at oracle.javatools.db.diff.ColumnConstraintDiffer.diffColList(ColumnConstraintDiffer.java:84)
         at oracle.javatools.db.diff.ColumnConstraintDiffer.diff(ColumnConstraintDiffer.java:71)
         at oracle.javatools.db.diff.DiffEngine.diff(DiffEngine.java:111)
         at oracle.javatools.db.diff.ListDiffer.diff(ListDiffer.java:81)
         at oracle.javatools.db.diff.DiffEngine.diff(DiffEngine.java:177)
         at oracle.javatools.db.diff.BeanDiffer.diffLists(BeanDiffer.java:272)
         at oracle.javatools.db.diff.BeanDiffer.diffLists(BeanDiffer.java:229)
         at oracle.javatools.db.diff.DBObjectDiffer.diff(DBObjectDiffer.java:46)
         at oracle.javatools.db.diff.TableReconcileDiffer.diff(TableReconcileDiffer.java:56)
         at oracle.javatools.db.diff.DiffEngine.diff(DiffEngine.java:111)
         at oracle.javatools.db.diff.ListDiffer.diff(ListDiffer.java:81)
         at oracle.javatools.db.diff.DiffEngine.diff(DiffEngine.java:177)
         at oracle.ideimpl.db.transfer.reconcile.ReconcileUI.run(ReconcileUI.java:384)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:604)
         at java.lang.Thread.run(Thread.java:595)

    This has been fixed and will be available in a later release. The table and column names will be displayed.

  • Java.lang.Exception: Attempted to use a 5.0 DataSource outside of a 2.3 ser

    Receiving error message: java.lang.Exception: Attempted to use a 5.0 DataSource outside of a 2.3 Servlet
    The application worked fine with 2.2 servlet version and data source 4.0
    But i need to add some filter in web.xml so
    I changed the servlet version in my web.xml from
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> to
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    and created a data source version 5 in websphere server 6.0.0.1
    After that it is throwing the above mentioned error. pls help me on this.
    Thanks

    Is there anything i need to change in my application.xml
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">

Maybe you are looking for