File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Georgy Pf
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • 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!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64188
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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?
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic