Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating an application (can be hosted on LAN)

 
rammie singh
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • 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.
 
Swastik Dey
Rancher
Posts: 1643
6
Android Java Java ME
  • Mark post as helpful
  • send pies
  • 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.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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: 42969
73
  • Mark post as helpful
  • send pies
  • 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.
 
Javad Rashidi
Ranch Hand
Posts: 34
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • 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.

 
Andrew Thompson
Ranch Hand
Posts: 77
5
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic