create and use database in developing java desktop application [closed] - java

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am trying to create a java desktop application based on a database. But what i want is that the database that i use should be included with the installation files that are created after building the project so that the user does not have to install any database separately to use the application.
Can anyone please help me with this and also show how to go about it?

A good option is for your application to use an embedded database. Which is where the database process runs within the same process as the application using it. From a code-perspective, it still acts like any other database (accessed through connections/datasources, for example). So the code doesn't know it's an embedded database.
There are lots of database products that supported embedded databases...
http://en.wikipedia.org/wiki/Embedded_database
I've used H2 previously with good results, so I can recommend that product for use as an embedded database. You should look at what your needs are and see if there is a product which can be embedded which fits your requirements.

Related

Which database to use when developing a desktop application using java [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Please suggest me to use the best database when developing a desktop application using java.
I am planning to develop a student information system where i want to store and retrieve student information. I will be using java swing to develop the system. Can anybody suggest me the best DB to use for my application.
"Best" is incredibly subjective, so let's narrow it down to some other criterion like lightweight and easily integrated. In that category you could choose H2, HSQLDB or Apache Derby. These systems are written in Java so you can integrate them straight into your application without the need to install, set up and maintain a server, which will make distribution and setup easier, and they have a decent feature set and performance. From an ease of use for your end users that's about as simple as it will get.
The H2 webpage contains a small comparison stable that can help you select the "best" fit for your requirements.

Java testing framework [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have to write an automated script in Java to do following
Login to an internal website with userid and password
Once login is complete click on a link which will open another web application and make sure the website is available
Send success / failure email to a specified group
The above job will have to run every day at a specified time to check the site availability. (I can use windows scheduler to schedule this as a job)
Due to network policy I cannot use any site availability websites to check this.
There are lot of Java based test frameworks available in market.
I would appreciate if anyone can point me to the right framework.
Thanks
Selenium Web-Driver Automation framework is the best. It supports multiple langugaes, along with Java. You can check the seleniumorg site http://seleniumhq.org/
For mailing, you can use Java Mail API.

Web service technology to use with .NET apps and JSF [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I've got bunch of applications in .NET technologies: desktop in winforms, web in ASP.NET. I will have also a webpage wirtten in JSF. All these applications work with the same database (or databases). My problem is that all these application connect to the database (or will connect) on their own.
I want to create a gateway which will have only access to database. Other applications (in .NET and Java) will use it to get data from database. And I'm wondering which technology will be the best, for .NET and Java.
I've have to tell that I don't have much experience with Java, so I need a little help on this.
You basically want to create a server that encapsulates your database. This server should be used from different programming languages.
Your goal should be to use a technology that is easiy usable in these different languages.
A web-service - either using SOAP or being RESTful - comes to mind here.

Is there some better way to create some custom fields in the database by using some Java EE, JPA framework? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
We use Oracle ADF platform to build web applications and extend to webcenter portal application.
The current expectation from Java developers team is to change our development approach/method, so that adding some fields in the application should not required any development effort. In other words, when you want to add a data field (at least no relation to any field) in some form, it should be enough to save some metadata of the field to the database along with execution of related job/commands in the application. Additionally, we need to render the view dynamically according to added fields.
Essentially, I think that such an expectation is not suited for the Java world, but if it could be possible or if someone has prior experience to do this, I would want to use it. We don't want to be interact directly with the database using native SQL through JDBC, as that would mean going out of the ADF framework.

what is the knowledge i have to know to make centrelized DB in PC and access it via internet using java application? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
i want to make centralized MySQL DB in PC like server ,
and manipulate it via internet using java application .
i have already learn MySQL and java ,but i can't reach which i want.
what is the knowledge i have to know to make this ?
some detailed description about my project :
i work at a community as a data administrator which have many activities.
in each activity there is many clients and workers deal with this activity.
i have a team work with me , for each activity has a 1 data team member responsible for it (entering data , updating , making reports).
we make all this with MS Excel,but the data is increasing and i can't manage it.
so i think to make a program help me to manage all these data , but we need one database to hold these data not many database, to union it and every one can work at home.
so, i need some one refers to tutorials and books to make this program .
A web application would be a solution for your problems.
For that you would need to know how to configure and work with a server like JBoss for example. Further you'll be needing servlets or some mvc framework like spring for example. There are so many possibilities; sounds to me like you should find someone who can do this for you.

Categories

Resources