Solved

JAVA App Runs on Server and Use Database

Posted on 2011-09-20
6
202 Views
Last Modified: 2012-05-12
Hi,

I'm a newbie to JAVA and would like to build a client server app. The server should be internally built for security. Also, the app shouldn't use a separate database server. Instead, it should use Berkeley DB and SQLite to interact with tables over the network. I don't even know from where to start building my app, what kind of servers should I use and how to deal with database in the network. If there is a book, tutorial or article or anything that helps and cover those stuff, please post it here.

Thanks
0
Comment
Question by:hmbargi
  • 4
  • 2
6 Comments
 
LVL 47

Expert Comment

by:for_yan
ID: 36571541

Perhpas you want to start with reading about Berkeley DB Java Edition:
http://download.oracle.com/docs/cd/E17277_02/html/GettingStartedGuide/index.html
0
 

Author Comment

by:hmbargi
ID: 36572688
Thanks for_yan.

How about the server itself. What kind of servers should I use. I have been asked not to use a separate server which in this case from security aspects I have to secure the server itself. So the only choice is trying to find a build-in server in my local machine but I could find any. The IDE that I use is NetBeans 7.0.1.

0
 
LVL 47

Expert Comment

by:for_yan
ID: 36572692
I don't understand about server - what kind of server do you need?
What service will you be using?
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:hmbargi
ID: 36572797
I don't know. Since I'm taking a computer security class, I have been told to build an app that apply authentication, authorization and audit principles. The professor said, I don't have to use like Oracle product servers. Instead, He said I have to use a server and shouldn't be a separate server from JAVA. It has to be included in JAVA library.
0
 
LVL 47

Expert Comment

by:for_yan
ID: 36572851

If you are about writing java client and server yourself - look at this tutorial/example:
http://rox-xmlrpc.sourceforge.net/niotut/

(don't know about security part though - perhaps they will teach you how to add security to it)
0
 
LVL 47

Accepted Solution

by:
for_yan earned 500 total points
ID: 36572864
Maybe you want to use Remote Method Invocation (RMI), then look at this:

http://download.oracle.com/javase/tutorial/rmi/index.html

Again - security is probably sometyhiing you can add based on your class

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now