Java is capable to render 3D applications!!!

I often heard that java is slow, to slow to use it for bigger 3D applications.
I don't think that's right! Well, now I tested it!
Screen:
http://www.pictureupload.de/originals/9417/030609172251_3d_screen01.jpg
Realtime 3D Applications with shaders, light, shadows, whatever are no problem with java. I'm just wondering, why nobody use java for 3D games??
I can understand, if someone say, C++ is faster, but java is platform independent and as I tested, fast enough for nice games.

of course it is no problem for java, because java doesn't deal with that stuff. It is handled by the NATIVE underlying 3D API and drivers, plus the video hardware does all the work anyway. There are already two solid OpenGL bindings for Java through JOGL and LWJGL. I'm sure a Direct3D version will also come eventually.
The trick with java game development is not in the graphics department but more in memory management (stay inside a theoretical low max heap space, minimize the number of objects being created/released during a frame cycle, etc.) and efficient networking I/O. Next to that debugging a bad OpenGL call is harder to do than in C++, because it usually causes the native binary to crash, leaving you only with a crash report and no stacktrace.
But I must say, what you can do in C++ in two weeks, you can do in Java in one week. It really does make game development a whole lot easier IMO. Or I just suck at doing proper C++ of course :)

Similar Messages

  • What is missing, when I render my Application for Mobile Support, like PDA?

    Hello @ all,
    I have a question about ADF Mobile.
    I implemented a bean, which has a Method:
    getRenderKitId(){
    AdfFacesContext afc = AdfFacesContext.getCurrentInstance();
    Agent agent = afc.getAgent();
    if(Agent.TYPE_PDA.equals(agent.getType().toString()))               return "oracle.adfinternal.view.faces.ui.laf.simple.pda";          
    else if(Agent.AGENT_GECKO.equals(agent.getAgentName()))
         return "com.apress.projsf.xul.ajax";
    else if(Agent.AGENT_IE.equals(agent.getAgentName()) &&
    Agent.TYPE_DESKTOP.equals(agent.getType()))
         return "com.apress.projsf.htc.ajax";
    else if(Agent.AGENT_WEBKIT.equals(agent.getAgentName()))
         return "com.apress.projsf.html.ajax";
    else
         return RenderKitFactory.HTML_BASIC_RENDER_KIT;
    When I debug my Application on an PDA, this Method returns the right String for PDAs "oracle.adfinternal.view.faces.ui.laf.simple.pda".
    I also have the public class DynamicRenderKitViewHandler extends ViewHandlerWrapper{
    public String calculateRenderKitId(FacesContext context){
         String renderKitId = super.calculateRenderKitId(context);
         Matcher matcher = DYNAMICRENDER_KIT_ID.matcher(renderKitId);
         if(matcher.matches()){
         String expression = matcher.group(1);
              Application application = context.getApplication();
              ValueBinding binding = application.createValueBinding(expression);
              if(binding.getType(context) == String.class)
                   renderKitId = (String) binding.getValue(context);
              return renderKitId;
    The return Value of this Method is also oracle.adfinternal.view.faces.ui.laf.simple.pda.
    So know my question is, what else do I have to implement, to render my components on a PDA. Because, when i run my Application on a Pocket PC 2003 with Windows CE, the Mobile Internet Browser shows me the same rendering page like it is on the "normal" PC Internet Browser.
    Do I have to work with the ADF Faces Tags, like the <af:commandButton ...>
    because, i don't use these tags.
    The Libraries i have imported are, the adf-faces-api-10_1_3_0_4.jar file and simular the impl-jar.
    Please could anybody help me?

    Hello Jrozier,
    first I wanne thank you for your reply.
    Know my ApplicationBean getRenderKitId Method returns "oracle.adf.core"
    I had wrote a little JSP that looks like the following:
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <afh:html>
    <afh:head>
         <title>Test Page</title>          
    </afh:head>
    <afh:body>
    Testing
    </afh:body>
    </afh:html>
    But when I try to run my Application, I get the following error:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: org.ajax4jsf.framework.ajax.AjaxViewRootRIOneOne
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
         oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
         org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:65)
         org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:226)
         oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
    What could go wrong?

  • Java web start fails to launch application when java cache is off

    Hi,
    there's no problem when java cache is used but when java cache isn't used, my application fails to launch via jws (jnlp).
    the following is the error
    java.lang.NullPointerException
    at java.util.jar.JarVerifier.mapSignersToCodeSource(Unknown Source)
    at java.util.jar.JarVerifier.mapSignersToCodeSources(Unknown Source)
    at java.util.jar.JarVerifier.getCodeSources(Unknown Source)
    at java.util.jar.JarFile.getCodeSources(Unknown Source)
    at java.util.jar.JavaUtilJarAccessImpl.getCodeSources(Unknown Source)
    at com.sun.deploy.cache.DeployCacheJarAccessImpl.getCodeSources(Unknown Source)
    at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(Unknown Source)
    at com.sun.javaws.security.SigningInfo.check(Unknown Source)
    at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)
    at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)
    at com.sun.javaws.Launcher.prepareResources(Unknown Source)
    at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
    at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    at com.sun.javaws.Launcher.launch(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    this is the jnlp file
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" version="1.0" codebase="http://11.4.100.41" href="secuiNXG.jnlp">
    <information>
    <title>secuiNXG U start GUI</title>
    <vendor>secui.com Ltd.</vendor>
    <homepage href="/"/>
    <icon href="web_login_ci.gif"/>
    <shortcut online="true">
    <desktop/>
    <menu submenu="secuiNXG U"/>
    </shortcut>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.4+" initial-heap-size="50m" max-heap-size="250m" />
    <jar href="SES.jar"/>
    <jar href="skin_alloy.jar"/>
    <jar href="Borders.jar"/>
    <jar href="informa.jar"/>
    <jar href="jaxen-1.1-beta-12.jar"/>
    <jar href="jcelements.jar"/>
    <jar href="jctable.jar"/>
    <jar href="jdom.jar"/>
    <jar href="log4j-1.2.14.jar"/>
    <jar href="jnlp.jar"/>
    <jar href="jxl.jar"/>
    </resources>
    <application-desc main-class="secui.firewall.SecuiLogin">
    <argument>11.4.100.41:80</argument>
    </application-desc>
    </jnlp>Test Environment
    JRE : 1.6.0_19
    O/S : Windows 7 (32 bit)
    Browser : IE8
    I checked for other versions of jre but not using java cache didn't cause any problems.
    I checked for the release note of update 19 but I have no clue.
    Is there any way to launch java application without using java cache?

    greencosmos wrote:
    ..I had a problem changing the cache location. The button for this action is disabled. I can't figure out how to enable it.On my system, it is enabled when the 'cache files' box is checked, and disabled when it isn't.
    1) Without changing the location I assumed that deleting the cached files could be a similar job, so I clicked "Delete Files..." and deleted with all checkboxes checked.I am not convinced that would entirely clear the cache, but have done no specific tests to check.
    2) I unchecked "Keep temporary files on my computer".So it was checked when you were trying to change the cache location?
    3) Applied all the changes.
    4) I launched your demo.
    Result - It was launched without any prompt.
    I revisited the page with the URL and successfully launched the app. again.The application launched just fine, but no prompt.
    If you follow those (links and) steps I outlined exactly, does the file service demo launch twice for you?I'm sorry I don't exactly understand your question. .. Your description is enough to convince me that answer is 'yes'.
    ..I tried twice and it launched twice, but not twice at the same time(it launched once at a time).Surprise, surprise. That is the first mention in this thread of 'same time'/'simultaneously'. Care to share the other defining factors that you forgot to mention, or is guessing part of the 'fun' of helping?
    But still I'm having problems with launching my application.
    I assume that it could be jnlp syntax problem. The "main=true" subelement is missing.It is a good idea to validate the launch files of JWS based launches that are failing for any reason. For that purpose, I offer JaNeLA.
    Having said that, a missing main='true' will not be detected by JaNeLA, since it is not a compulsory attribute. ..But check them anyway.

  • Problem with HowTo guide - Use the BI Java SDK in a Web Dynpro Application

    Hello,
    I am following the HowTo guide - Use the BI Java SDK in a Web Dynpro Application
    at <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e49be590-0201-0010-0c83-fc20e5da124f">this link</a>.
    I have configured the connector on the WAS as needed.
    The problem is that when I run the application I receive an Unauthorized error on the connector URL.
    If I open this URL on a browser I receive a pop-up for UID and PWD and when I enter the same UID and PWD I used to configure the connector I am able to login and see the WSDL.
    Any ideas?

    I've never tried using BI in WebDynpro !!!
    But i foond one posting on the connection problem https://forums.sdn.sap.com/click.jspa?searchID=955524&messageID=2133396
    Regards,Anilkumar

  • HT1338 II need to use Java 6 to run a web application because it isnt compatible with java 7 update 7.  is this possible? need to use Java 6 to run a web application because it isnt compatible with java 7 update 7.  is this possible?

    II need to use Java 6 to run a web application because it isnt compatible with java 7 update 7.  is this possible?

    MadMAC0 posted at https://discussions.apple.com/message/20107182?ac_cid=tw123456#20107182 that:
    Apple has posted (10/22/12) the approved solution for restoring the Java 6 plug-in:
    Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality.

  • Need java 8 for OS X for applications like PS5 to work

    need java 8 for OS X for applications like PS5 to work

    You need to go to Oracle's Java website.

  • Upgrading Oracle XML Parser for Java v9.0.4 with Oracle Applications 11i

    Guys, I applied ATG.PF.H.RUP4. In postinstall steps it is mentioned,Upgrading Oracle XML Parser for Java v9.0.4 with Oracle Applications 11i(doc-271148.1)
    which says after applying patch 4038964 do the following--
    AUTOCONFIG ENABLED APPLICATIONS ENVIRONMENT
    If the Oracle E-Business Suite configuration files are maintained using the AutoConfig infrastructure, proceed with the following:
    1. Run the AutoConfig utility.
    2. Go to [JAVA_TOP].
    3. Run the unzip -l appsborg2.zip | grep 9.0.4 command. If there is a file named as .xdkjava_version_9.0.4.0.0_production, which indicates that XML Parser for Java v9.0.4 is installed correctly as part of appsborg2.zip. Otherwise, run ADAdmin to regenerate the appsborg2.zip file.
    4. Restart the application tier server processes such that the new version of Oracle XML Parser for Java will take effect.
    but actually the patch is already applied- 4038964. How do i verify if i need to do these steps or not.
    The xmlparserv2-904.zip file is already there in wrapper.classpath. of jserv.properties, forms.properties. So i think i dont need to do these steps.

    unzip -l appsborg2.zip | grep 9.0.4
    0 04-18-03 20:10 .xdkjava_version_9.0.4.0.0_production
    do i still need to do that step?No, you do not have to since "XML Parser for Java v9.0.4" is already installed as part of appsborg2.zip

  • Java is not active in the application server

    Hi Experts
    We recently installed CRM 5.0.  Everything seems to have installed without any issues. 
    However, we are having a few issues the Java Virtual Machine (VMC). 
    When trying to access the VMC through ABAP side of CRM (SM53), it gives and error message that "Java is not active in the application server". 
    Eventhough everything seems to have been installed.
    Any ideas on how to activate java. 
    Any help would be really appreciated.
    Thanks
    Imran Khan

    Hi Daniele:
    There are indeed only 3 parameter additions
    vmcj/enable = on
    vmcj/option/ps = 512M
    vmcj/option/maxJavaHeap = 200M
    The 4th one is just explanation for calculating sizes.
    My VMC is active with only the above three settings.
    Also make sure that the SP level for both the JAVA components and ABAP components is the same.  i.e. they are both running on the latest version.  The latest update was released in Late April.
    If the SPs are from differnt releases, the VMC will not work.
    Also, go into the server and have a look at the parameter file to make sure that settings are actually there. i have found out that settings  in RZ10 and the real parameter settings can be different.  Just make sure that the settings you want the system to take are indeed in the real parameter file.
    I am not sure what else you can do...but rest assured that the thing works with the above mentioned settings.
    Imran

  • How to download Personal Java and how to run the application

    Hi,
    From java.sun.com, which file has to be downloaded for develpoing the application in personal java.
    How to run an application in peraonal java?
    If you give me the steps it will be more helpful to me.
    I couldn't find the samples for personal java anywhere?
    If you give me links for basic samples with source code such as hello world and small games, it will be more helpful to me.
    All of my doubts are very basic one.
    Please help me.
    Thanks in advance.
    Regards,
    Nagaraj.

    Sun has a beta implementation available for download (http://developer.java.sun.com/developer/earlyAccess/personaljava/) which will allow you to run Personal Java on a MIPS/SH3/StrongARM or XScale device running WindowsCE 2.0 or greater. You can also download the Personal Java Emulation environment (http://java.sun.com/products/personaljava/pj-emulation.html) which will allow you to develop and run personal java applications in a Windows or Solaris environment.
    Most JDK1.1.8 compliant applications will run on Personal Java, so a Hello World program would look like the regular.
    public static void main(String[] args) {
    System.out.println("Hello World");
    System.exit(0);
    You can also purchase a full blown commercial implementation of Personal Java for PocketPC at handango.com. Do a search on Insignia Jeode for Dell. You can use this on any PocketPC/XScale pda.
    To run a Personal Java program on Pocket PC. Deploy your jar to the Device and create a shortcut similar to this:
    50#"\program files\Java\bin\pjava.exe" -setcwd "\program files\Java\pjtest" -classpath "\program files\Java\pjtest\pjtest.jar" -file "pjtest.testmain.class"
    The number is arbitrary, but the paths need to point to the directory where you installed Personal java and your jar/application respectively.

  • Why Java VisualVm Could not show running applications of remote server

    Hi,everyone. I run jstatd in the remote server, and run java visualVM in local ,but the applications running in remote server could not display in the visualVM panel.
    this is local viaualVm Info:
    ===============================================
    Version:
    1.7.0_02 (Build 1320-110325); platform 110131-9c8b3bfb3a1e
    System:
    Windows 7 (6.1) Service Pack 1, amd64 64bit
    Java:
    1.7.0_02; Java HotSpot(TM) 64-Bit Server VM (22.0-b10, mixed mode)
    Vendor:
    Oracle Corporation, http://java.oracle.com/
    Environment:
    GBK; zh_CN (visualvm)
    Userdir:
    C:\Users\Johnny\AppData\Roaming\.visualvm\7
    Clusters:
    C:\Java\jdk1.7.0_02\lib\visualvm\platform
    C:\Java\jdk1.7.0_02\lib\visualvm\visualvm
    C:\Java\jdk1.7.0_02\lib\visualvm\profiler
    有关详细信息,请访问 http://visualvm.java.net。在 NetBeans 平台上构建。
    ==============================================================
    the OS of remote server is CentOS 6. jvm info:
    ==============================================================
    java version "1.7.0_02"
    Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 22.0-b10, mixed mode)
    ==============================================================
    start jstatd command is :
    ====================================
    ./jstatd -J-Djava.security.policy=jstatd.all.policy -p 2020
    ====================================
    the content if jstatd.all.policy which in the $JAVA_HOME\bin
    =====================================
    grant codebase "file:${java.home}/../lib/tools.jar" {
    permission java.security.AllPermission;
    =====================================
    whats wrong happened ?
    帖子经 user5950241编辑过

    are you running jstatd on the remote server as a user with permission to see the jvm processes you care about?

  • Je ne suis pas capable de transferer mes application de mon ordi a mon ipod, j ai fait tout les mise a jour mais rien a faire , qq un peu m aider???

    Bonjour,
    J ai un probleme, je ne suis pas capable de transferer mes applications de mon ordi a mon ipod. J ai fait toute les mises a jour. Qq un peut m aider SVP??? 
                      merci Gab

    Google translate:
    Hello,
    I have a problem, I am not able to transfer my apps from my computer to my ipod. J didall the updates. Qq one can help m please??
                       thank you Gab
    - What iOS do you have on the iPod?  Are the apps compatible with that iOS?
    - Is the iPod signed into the iTunes account that purchased the apps?
    - Have you tried downloading the apps directly to the iPod?  If you use the same iTunes account that originally purchased them you will not be charged again.

  • How to run Java Card 2.2.1 demo application?

    Hi Friends..
    i want to know how to run Java Card 2.2.1 demo application in Windows environment..
    Sorry, perhaps this question looks like a little bit stupid.. :(
    In Windows, I've set the environment variables for :
    JAVA_HOME : C:\Program Files\Java\jdk1.6.0_03
    JC_HOME : C:\java_card_kit-2_2_1
    and then how to run demo1.scr, etc?.
    Please help me regarding this,
    Thanks in advance..

    Is there any suggestion for my question?.. :(
    Thanks in advance..

  • Doubts about java's capability in printing

    I have noticed tonnes of bugs listed regarding printing in java. All I wanted to know is that, if I require printing capability for my application, is it wise to go for Java??
    I have noticed lots of bugs in jdk1.2 and 1.3 also seems to have a lot of it. Most of the bugs are very serious. And it seems that even the most basic print functionalities have serious bugs.
    Is there hope in 1.4???
    pls advice.
    thanku
    -Sh

    I'd say try to do it, and if you run into bugs that you can't work around, then maybe use something else. I'd try it just so your app can be run on multiple platforms. What are you printing? I just wrote and sold an application that opens up .jpg files, scales them to fit on a page, and prints them. I used java 1.3.x, and didn't run into any problems. Sun works very hard to fix the bugs, too, so there's always a chance that any you hit will be fixed in other releases. Good luck.

  • Has any AntiVirus got a Java Plugin capability

    I have a requirement to accept a document from a customer online, i want this document to be scanned by an AntiVirus(McAFee / NAV )and then accept it for storage.
    But do these Anti Viruses have a capability to recieve a Java call and respond back to this Java call after scanning with a success/failure message for virus scan.
    If any one has come accross such a solution please forward your advise to my query.

    Hi,
    we are developing an application that is integrating with mail server to check antivrus while sending and recieving an attachment.
    I need source code and documents on how antivrus software is integrared with mail server.
    Regards
    Chandra

  • How can I call a java object from Web dynpro ABAP application?

    I made Web dynpro ABAP application and posted it to SAP EP.
    For certain business purpose, we need to call external 3rd party java object using 3rd party's java api in Web dynpro application.
    Is there anybody who experienced this kind of java interface issue?
    I know Web dynpro Java environment can fully support this kind of requirement. but regarding Web dynpro ABAP, I couldn't find any clue for this.
    Any comment or suggestion would be greatly appreciated.
    Thanks,
    Raymond, ABAP Consultant

    if you have jco configured, then you can make calls to java api from ABAP .
    check out this weblog.
    /people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
    Raja

Maybe you are looking for

  • From where we can get error log of delivering state

    Hi Experts,   I have processed large file and itseems the message got picked up successfully from sender side and got stucked in deleivering state. Can anyone suggest from where can we get error log that why the message is in delivering state. I have

  • Help with music store

    Help!!!! I had to re-boot my computer and lost all of my library. Does any one know if I can go back into the music store and re-download all the songs I have already purchased?

  • Question About HDV Capture / Timeline

    Hello, I am capturing HDV from a HV40. Whenever I bring a clip into the timeline, the audio is not a stereo-linked pair, it is instead two individual mono tracks. When I make it stereo linked, I then have to set the pan back to zero. These are a lot

  • Another dead hard drive...

    If you verify a disk with Disk Utility, and then close Disk Utility while the verify is in progress, you just destroyed the disk. It happened to me. The disk has only the partition "disk1s1". This time it's a WD My Passport. Any free way to salvage t

  • I can not register my MacBook Pro

    I'm trying register and add my new macbook pro but can not do it. After past serial number i see message like this: We're sorry, but the date of purchase does not appear to be correct for the serial number you've entered. If you believe you received