• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java Swing application + Database on server (Java EE?)

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi! Currently I have a java desktop application with a database that resides on clients system, connection is provided by JDBC connectivity. Now I need to move the database to a server, thus allowing multiple users to work with same db. I want to continue using Swing client. I am new to Java EE and there is tons of technologies from which my system can benefit, so my question is which approach I might want to use? No requirements on the system as long as it will still provide the functionality it had before.

Being new to such large platform as Java EE, after several days of research I got completely lost, most examples I found were for web based applications that use JSF and JSP, same with books, but I have a Swing gui, and I still want to support networking, JPA and a lot more))

And yes, I would like to put the system on EE platform, since there is more coming in the future.
I am searching for answers like your business logic goes here (EJB?), your Swing app goes here, database goes here or something like that.
Thank you!
 
Sheriff
Posts: 67746
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
I'm not sure you need JEE at all. Why can't your Swing clients simply connect to the database on its new server? I think you may be over-thinking the whole thing.
 
Georgy Pf
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Bear Bibeault wrote:I'm not sure you need JEE at all. Why can't your Swing clients simply connect to the database on its new server? I think you may be over-thinking the whole thing.



As I said I am new to EE and I would also like to use JPA. What are your suggestions?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JPA is a layer on top of JDBC. As long as the app is only used in the intranet, or over a
VPN, it can connect directly to the DB. No other technologies are needed.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic