• 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:

client/server program: how to?

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello!

I'd like to start coding next week but I am struggling with the architecture...

Does anyone knows of a good book (or any other good resource) that would allow me to build up the skills/understanding necessary to code a 'basic' client/server application?

I'd really like to be able to have a remotely accessible application with a front end using either a browser or swing and connecting to a server where the H2 database will be installed (connection through internet & intranet since we'll be using laptop when traveling and desktop in the office).

I suppose it is quite an ambitious project but I am confident I'll be up to the tasks

Thanks!


 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What kind of communication and backend where you thinking about? If HTTP and a web server/servlet container, then the Servlet, JSP and Tomcat forums might be more appropriate places to ask for advice.
 
choubix alex
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello and thanks for your reply. I was posting here as I am a beginner.

I was thinking about :

H2 database
OpenJPA
Jetty / Tomcat webserver
and a Swing client

but since I am new to Java I would need some guidance (or some good references/books that I can buy to study)





 
Marshal
Posts: 80874
506
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote: . . . the Servlet, JSP and Tomcat forums might be more appropriate places to ask for advice.

Agree. Moving.
 
Rancher
Posts: 4804
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Wow, that is a pretty ambitious project for a beginner.

Do you realize that the usual Tomcat server is a container for Java servlets and that it nearly always talks to a client's browser (i.e. Internet Explorer, FireFox, Chrome, Safari, etc.).

While it is possible to do what you list, that is:

1) not the normal way to approach it
2) fairly complex

As an initial project, you may have better luck just doing Client/Server from a standard browser over HTTP to your custom servlet code running under Tomcat or another container.
reply
    Bookmark Topic Watch Topic
  • New Topic