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.
Related
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.
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 5 years ago.
Improve this question
Can C++ be used as back-end and Javafx as front-end in the same Application?
And if I do this will the application be an executable (.exe) ? Otherwise is there any way to make it an Executable (.exe) ?
**Edit: Reason - I've got some problem in developing GUI applications with C++. **
You could create a server/client system, where the server is C++ and the client is Java, communicating with some sort of IPC between them. Once there is a disconnect between components, they can be any combination of languages. I'm currently working on a system, where the front end is C# (GUI) and the back end is VB.
Keep in mind that a GUI is about displaying information. There is no rule that says that processing and displaying needs to happen in the same application; written in the same language.
In other words: you "only" need an abstraction layer that allows you to retrieve data from the C++; and to use services on the side.
Your C++ side could provide a RESTful API; or you use JNI to make native calls. Various possibilities, but all of that: advanced topics.
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 7 years ago.
Improve this question
I want to make an app which is purely based on AI-based functionality, and I'd like to use some python libraries for that (looking mostly at natural language processing and deep learning). Now, I know there are tools (kivy, NDK) to I can use to develop the app entirely in python, but I really want to develop the app using JAVA.
How can I make an android app with JAVA, while still using some python libraries?
As a general approach, you could use Android Studio, which employs Java and XML files, to build your app, and tie that app to python-powered RESTful web services on a back end. Eve is an open-source Python REST API framework which would allow for this.
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.
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.