Which database to use when developing a desktop application using java [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.
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.

Related

create and use database in developing java desktop 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 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.

which framework to do fast development of WEB 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 10 years ago.
There are lots of framework available in market but which framework should be used for fast development of java web application?
Additional to above, Many prefer combination of framework and JS library e.g. gwt/jquery+spring+hibernate; but which combination provide good performance of web application along with less time of web application development.
As far as i am concerned , the best J2EE Frameworks are
1.Spring as Applcication Developement Frame work
Hibernate for ORM
Struts for View
The main thing we have to remember is as an IT professional is don't dependent on any framework.You may need to work on the frame work u really don't know. But have the basic Java concepts in hand, which makes us adoptable to any J2EE framework

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.

Tools for regression testing / test automation of database centric 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'm looking for a good, preferably free tool for automating tests of a java (EJB3) application without any kind of GUI.
Tool should be capable of at least:
Inserting / updating / deleting data on database
Querying and comparing data on database
Reading and writing to FTP server
Initializing test environment, launching EJB3 bean, cleaning up test environment after the test
Reporting
Some kind of scripting interface is enough, no GUI required
Naturally this could be done using Java & JUnit but it would be pretty tedious. I would appreciate any hints of such tools.
It sounds like you are looking for a combination of DBUnit and Cactus (the FTP stuff might require Commons-NET or Commons-VFS). Use ANT, with its scripting support, to get the reporting on the test results and the scripting.
That hits the checklist. If you want to test those EJB's out of the container, there is EJB3Unit.
Robot framework, Fitnesse and Concordion seem currently the most interesting candidates.

Categories

Resources