Solved

JAVA App Runs on Server and Use Database

Posted on 2011-09-20
6
205 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
tomcat startup error 5 106
Java: The Public Class Main 4 32
collection output issue 9 39
junit as external jar or library 7 24
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
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:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

821 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