Solved

JAVA App Runs on Server and Use Database

Posted on 2011-09-20
6
203 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
GUI builder for Eclipse? 8 27
ForLoop Example 3 40
java jdbc batch example 8 19
arguments to jar 5 13
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

914 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

18 Experts available now in Live!

Get 1:1 Help Now