• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Application Client Project  RSS feed

 
Tyler Pentecost
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having trouble with a test Application Client Project in Eclipse. Any help you can give me about what I am doing wrong if appreciated. I am using the following software:

  • jdk1.8.0_25
  • Eclipse Luna Release (4.4.0) Build id: 20140612-0600
  • GlassFish Server Open Source Edition 4.0 (build 89)


  • I have an Enterprise Application Project named TestApp. It has nothing of interest.

    I have an EJB Project named TestEJB. It has the following things of interest.

    TestBean.java


    TestBeanRemote.java


    I have an Application Client Project named TestAppClient. It has the following things of interest.

    Main.java


    Manifest.mf


    The EJB and Application Client Project are in the EAR project, and the project deploys successfully. In order to get the JNLP file, I need to add an exception for port 8080 of my machine as you see below.



    Next, I navigate to http://localhost:8080/TestApp/TestAppClient in my browser, and it downloads a JNLP file to my computer. It takes a really long time to download even though I am running this on the same machine as the server. When it starts, I see the following prompt. The name of the app has nothing to do with my code.



    Running the application fails with the following output.

    Launch File tab


    Exception tab


    Console tab


    If I look in my cache viewer, I see the application takes up 76,393 KB! That explains the slowness.



    Any help you can offer about what I am doing wrong is appreciated.
     
    It is sorta covered in the JavaRanch Style Guide.
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!