• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Creating an application (can be hosted on LAN)

 
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all

I have a sample flashplayer application for online test. I want to develop an application like this which could be hosted on LAN.
and different users can take this test.

I want to do it in JAVA. But i don't know which JAVA technology to use.
My friend suggested me for using applet. I searched in google, but i didnot get any application developed in applet.

Please guide me.
Or any thing else which i can use.

I don't want to make it a portal. I mean although a portal can be there but once clicking the test ..it should open as an individual application.

Please suggest me. I have worked on JSP and Servlet.

I have a sample flashplayer application but this site does not allow me to upload .zip or .exe file.
 
Bartender
Posts: 2270
20
Android Java ME Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What's wrong with an applet. You can always have your UI displayed using an applet which interacts with a servlet, where you code your business and data access logic.
 
Rancher
Posts: 43027
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Plenty of things might make an applet an unsuitable choice. But it's too early to talk about which technologies to use before the requirements are known. There's nothing about an online testing engine (or application) -if that's what we're talking about- that would make applets a particularly good choice.
 
rammie singh
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK..Thanks for your suggestion.
since i am new to developing an application in applet..can any one please give a link or a resource showing a sample applet application having atleast 3 to 4 page flow.

 
rammie singh
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i searched a lot in google, but i am not getting a small sample application. Every where i am getting, how to create a single screen applet showing some message like "Hello world" or something like that.
 
Ulf Dittmer
Rancher
Posts: 43027
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Applets generally don't have lots of GUI pages, so it's not a surprise you didn't find examples. The easiest way to implement those would be to use a CardLayout. More and more it sounds like a standard web app (without applets) would be better suited to this task.
 
Ranch Hand
Posts: 34
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is very simple applet. if you work with netbeans copy and paste the code and then press SHIFT + F6.

 
Ranch Hand
Posts: 77
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

rammie singh wrote:i searched a lot in google, but i am not getting a small sample application. Every where i am getting, how to create a single screen applet showing some message like "Hello world" or something like that.



It is generally not considered a good idea to code a GUI in a top level container such as a JApplet of JFrame. As soon as you do you find uses for that GUI in the other, or a JDialog, or JToolBar, or a nested panel in another layout, or..

Instead, build the GUI in a JPanel, and put that JPanel in whatever container best suits the end use. As far as building a GUI in a JPanel, look to the Swing Tutorial. As already pointed out, a CardLayout might be the best approach for the overall layout.
 
I need a new interior decorator. This tiny ad just painted every room in my house purple.
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic