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 a solution for a specific feature of my application ,feature is same as recent achievements category of stack overflow.When a specific event happen in server (may be some level achievement or some kind of condition satisfy)then i want to notify to user through the GUI of my application ,What is the best approach to do this specif use case .thanks in adnvance
You'll either want to use WebSockets or clientside polling.
There's a few java libraries out there to help abstract you from the underlying mechanics which can fallback to polling if websockets are not supported by the browser:
cometd
atmosphere
DWR's reverse-ajax
spring mvc
Im sure there's more but that'll get you started :)
Related
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 1 year ago.
Improve this question
I am new in android development ,My question is
what does it mean to have an android app with a control panel , Is it possible to control app after release ?
usually when somebody wants to make a mobile application, he creates a control panel using any back-end (php, java, node.js ...etc)
so he can control the API (if your app uses API call), he may also want to disable the application, so in each run in the application side, an API call will be invoked to check for availability.
you can do more complicated things but that is the basic
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 have a Vaadin Project that I didn't wrote. I didn't do anything with Vaadin before. Now I have to implement an API and Web Services for further communication.
So my question is: Is it possible to create web services and a further URL structure to the project besides the Vaadin stuff?
Thank you for your answers.
Vaadin is just a User Interface framework - for the presentation layer.You can write your service layer separately from the presentation layer as usual. So you can use whatever framework or mechanism you are familliar with in java or better yet just add more web services in a same way the old ones are published to preserve consistency.
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've a web application. Now i just planned to put notification system(just like Facebook). Can you please suggest me about this you know well fetching an answer after refreshing makes so buggy.
I googled but found that oracle provide vertex.io something like. But i don't understand How it can be linked by the notifications?
I would say something with javascript and servlets, have some javascript send a get request to retrieve a news feed or something, check if it has anything new, and if it does, update the client's page
Make a new thread, and make a while loop that checks for incoming messages from the server. Then when one is recieved, access a method in the gui to post that notification up.
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.
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 am developing a web application that will be sold later on, and was wondering how to add the concept of license to it, so that I can avoid it's piracy, and it can be used for given period of time only?
You can have a centralize licence server , have a DB to check user's status , expose this thing using webservice so that any of your app can consume it.
I've seen Java enterprise tools do the usual serial number/license file thing. Worked pretty well for them. All you'd need to do is put some static code in the application that would execute when the JavaEE container loads the WAR file and have that check the serial number.