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 8 years ago.
Improve this question
Hi every one I'm doing a small program to listen and notify using POSTGRESQL and JAVA. I just want to get notification message, to be stored in a file or MySQL database. Can any one guide me where I can find documentation or sample code for this.
Assuming that you are using JDBC, you can use the PostgreSQL extensions of the standard. In particular, you need the org.postgresql.PGNotification class to receive notifications that you have to explicitly poll for. See the JDBC documentation here. There is a fully worked-out example in the docs.
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 10 days ago.
Improve this question
I have an exiting Android app that uses Java and XML. I want to reface it, and i need informations.
This app use Android specification like the mobile position, modification of te current antenna (2G, 3G, 4G, 5G) ... and a local database with SQLite.
So I need to know if i can make my graphical interface with react and have interactions whith my java code to access to this Android properties. Is it possible to call java functions with react native ?
Can i use React or did i just have to use XML like i did before ?
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 4 years ago.
Improve this question
Although I can create and store queries using the Arango client, I can't find a way to create and retrieve them using the Arango java driver. The only place I can see a QueryEntity returned is when asking for long running queries.
In the same way I create Collections and graphs programmatically using the java api, I also want to create a few queries for debugging. I can't find a way to do this using the java api.
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 need to create a local database for query purposes. I wish to build and populate a database with data from a number of text files, do the queries needed, and then destroy the database since it is no longer needed.
I am currently programing it in VB.net but would eventually want to port into a java or like language so other platforms can be used.
I prefer something that does not require the user to download something else to make this work. A person I asked did suggest SQLite but I am not sure how to load it internally.
Java SDK includes Derby Database - see the link.
That can be used without further download (only Java needs to be there of cause)
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
For example,there is an app called System Analyst that shows me how much data has been downloaded in the current session.I'd like to use this data in another app,which I want to write in C or Java.
Is this a bad idea?If so why?
Usually it's better to go to the source of the information instead of trusting some other application. In the case of data received and sent, you can get them directly from the kernel by reading /proc/net/dev.
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 have got a requirement to connect Active directory systems through LDAP URL. I need to start this development very easiest way and looking to deliver this ASAP. Kindly share your thoughts.
I will be using Oracle JDeveloper for this development.
pure java example:
http://www.adamretter.org.uk/blog/entries/LDAPTest.java
If you can use Spring, go with spring-ldap:
http://projects.spring.io/spring-ldap/
Spring is really good library to handle ActiveDirectory connectivity. Just read the manual thats all.