• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

problems in a Chat Client/Server application

 
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Freinds,
me and my freinds are developing a Chat Client/Server application.I am core java programmer and has a good knowledge in Servlets/JSPs still we are facing many problems in our project. we want to include the functionalities of real time file sharing and creation and exchange of MIDI sequences in our project.will you please suggest me which one is the best way to implement such type of project with interactive functionalities.
1.Core Networking
2.JMS
3.RMI/IIOP
I want also to know what would be best possible architecture of my web based application.......
there are many problems before us
1.should there be any controller servlet or all JSPs?
2.how would i pop up a splash screen and a swing frame from a jsp for user login details?
3.database connectivity code should be on login page or on any other loginhandler page?
please help us in the best informative way and suggestive books and tutorials!!!thanking you all....If it is necessary i can represent my coding pages here.reply soon.
 
Sheriff
Posts: 67756
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ankit Tripathi wrote:has a good knowledge in Servlets/JSPs


1.should there be any controller servlet or all JSPs?


These two statements are at odds with each other. Anyone knowledgeable about Servlets and JSP should know that JSPs should only be used for view generation.

2.how would i pop up a splash screen and a swing frame from a jsp for user login details?


You don't, unless you get Applets added into the mix.

3.database connectivity code should be on login page or on any other loginhandler page?


DB connectivity shouldn't be handeld anywhere in the UI. That should be handed by the model classes.

I suggest that you get a handle on good web application basics before embarking on such ambitious a project. Perhaps this article would be a good start.
 
Ankit Tripathi
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have read the tutorial.It was nice and so helpful.But i have seen the code for request dispatch and data fetching in the JSPs......isn't that so much effective or that's not the thing you are talking about.If it is not that please give me a suitable example.
please tell me how a dynamic request can be sent from a applet across a network? thanking you.
 
Bear Bibeault
Sheriff
Posts: 67756
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ankit Tripathi wrote:But i have seen the code for request dispatch and data fetching in the JSPs...


Just because people do it, does not make it a good practice.
 
reply
    Bookmark Topic Watch Topic
  • New Topic