Java Technologies [closed] - java

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am designing an IT healthcare system for academic purposes. I would like to create a database in an ordinary Internet web-domain and a separate Java client-application.
Somehow I want the client to have access in the database through Internet. I am looking for the technology to implement that. I would really appreciate if you could share any ideas of how can I do that?

Giving direct access to the database over the public Internet is a discredited approach. Instead applications are designed as three-tiered, such that on the server side you have a dedicated application server which communicates with the database as needed.
There are many frameworks which make this task easier, such as Grails (lightweight), the Spring Framework (industrial-strength, quite heavyweight), or the Java EE platform (more heavyweight than Spring).

I would suggest developing locally.
Run your database on Vagrant or just a plain old VM and treat it like its an external database server.

Related

How to connect to neo4j database from android app (with java code)? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I am developing one android application in java and i am using neo4j as a database for this app.
Lets, consider i will store the static cypher query in a string. Then after the user clicks on the button, i want to send this query(string) to neo4j server and then execute it on neo4j server and return the result.
My question is that, Is it possible? If yes, how can i do this ? Is there any easy/proper way to do?
Any help will be highly appreciated.
If you want to talk directly to Neo4j, you can use either:
The HTTP API
The Binary Bolt Protocol
If you would rather use middleware, there are many many different options:
Java
.NET
JavaScript
Python
Go
Ruby
PHP
...
When building mobile apps my personal preference is to build a standard API in a middleware server then use HTTPS calls from the app (neo4j-graphql-js has also been awesome for a couple projects), but there are enough stacks that you have the freedom to do it your way.

Java Client Serve Architecure [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I want to build an E learning app using Java. The GUI will be made using JavaFX and for database I will use MySQL. So far application runs fine on localhost. But I want the application to be multi user. I m a little confused because I ve read different options like client/server and RMI. What would be the best approach in this case? For example, if the database is on another computer, and several clients will run the app (the app will contain both GUI part and database operations part via JDBC) is it ok? Or do I need to separate client part (like GUI) from actual database operations (Server part)? What about RMI? Does it make sense to use RMI in this case?
In the database the app will store user credentials and user progress. I will grateful if someone could help me clarify this
I would NOT recommend exposing the DB to the Internet.
I would recommand implementing an REST-API for the Communication between DB and Client (JavaFX GUI). The big advantage is that you can control which operations can be executed against the DB and which not. I dont now about RIM btw.

How can I Make Single Application for web and desktop in JAVA [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I need to make a cross platform application than can run on MAC, Windows, Linux and also on web. Can JAVA be used for this? If yes then what type of JAVA project and what architecture should I use? And also need to implement MVC.
My Application will store data on local pc and will also have same interface on web. And both platforms will keep in sync!
Your choices are somewhat as follows.
Create a remote server
Create a Swing desktop client
Use the Swing client through Web Start or create a separate web
client on the remote server (with any frameworks of your choice).
Obviously the choice without a separate web client is simpler, but it also means that all "web" users must have Java installed and Web Start must be allowed.
Yes java is best fit for this....about project type first of all decide the frameworks you are going to use.

How to save data of a small prog? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am building a small java application that shall run locally on a system. The data I intend to input is little stuff like my daily expenses, a couple of contacts I have, and a couple of notes of things I want to remember.
To save the data for this matter I think installing a database like MySQL or Oracle would be an overkill. In my past projects I always used those databases.
How would I have to manage the data of a small program? Are there any ready to use solutions in the java world? Maybe with the possibility to use it together with JPA?
You should look into Apache Derby:
http://db.apache.org/derby/
or HyperSQL:
http://hsqldb.org/
They're both lightweight database engines that you can fire up on application start-up, ideal for smaller projects. They also both have Hibernate dialects for JPA.

Java and Oscilloscope [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I need to access data from an oscilloscope (Tektronix DO4034B) connected to my LAN. The oscilloscope has a web-GUI to perform the functions.
My doubt is how I develop a software in Java to perform these same functions in my program, accessing the oscilloscope in the network.
Thanks.
If the oscilloscope publishes a Java API, it will be easy. Download the API and use according to directions.
If the oscilloscope publishes a non-Java API, then it's a matter of binding the Java language to the published API.
If the oscilloscope doesn't publish an API, then you have to make a choice.
Figure out how to set up a service on the oscilloscope, which binds to the internal api, and presents what you desire.
Use a Java web client, Apache's HttpClient comes to mind, and have Java drive a program driven headless web browser.
I'd opt for #2 unless there is some overriding reason to make it integrate with a larger environment better.

Categories

Resources