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 monitor constantly changing values against different conditions.
Example case:
Value: Location (changes every 5 seconds)
Condition: If location.near(Boston) do ...
It seems easy to do for one value and condition, but if there are multpile values and conditions I fear it will cripple the hardware because it will run on Android devices.
Is there a design pattern to help me with this?
I think that a good solution can be a Rule Engine. There are some rule engines that work fine on Android platform, e.g. Jess.
Another lightweight rule engine available on Java is Reguloj
Basically, a rule engine is based on a set of rules, each of which consists in a condition and an ation.
Here you can find more about your choice to use or not a rule engine.
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 3 years ago.
Improve this question
Is there any way to develop a custom execution planner for queries?
As execution plan I refer to
https://neo4j.com/docs/cypher-manual/current/execution-plans/
I want to develop an execution planner to modify the order with which match clauses are executed.
For example, is the query only specifies a list of edges, I would like to choose the order with which edges are matched.
Thank you.
There is no built-in way to plug in your own planner implementation.
However, since the code is open source, you could always fork the repo and modify the planner yourself.
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 improve a JAVA program performances using GPU programming.
After some research on the internet I found that it is possible if i use jcuda or jocl, but the problem is that the kernel code must be written in C in both cases.
and the algorithm that i want every thread to execute is very complicated to be written in C (it does some computations to know if there will be an accident between two aircrafts) so an object-oriented language is necessery.
Is there a solution ? or must we translate the whole project to C++ ?
Thanks for your help !
Simple rule: if it needs object orientation, it looses its performance. Even if you are using GPU acceleration.
I would advise you to identify the parallel parts of your program code. You do not have to transfer all of your algorithm to the GPU device. Is there any aspect of paralellization, e.g. arrays or grids that are filled?
What kind is your simulation message exchange? Is it explicit, i.e. sending messages around your kernels, or implicit via synchronization.
You should at least give us some more information about you algorithm and its data layout.
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
How can I develop in Java and still use Unreal Engine 4?
Do you have to use a wrapper (I have heard something about this), do I have to modify the source code that comes with purchase or is there a plugin out there that I can use?
http://jmonkeyengine.org/ seems good and I love the IDE (and the SDK itself), but I cannot get over having to place objects on certain coordinates.
There is, as of this moment time, no Java support on the Unreal Engine. There is a C# plugin available however, you could probably explore how they accomplished it if you plan on making your own wrapper.
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
I have a java web application(.war) that i need to be license secured.My web application is targeted to deploy on Apache Tomcat.I need License in two formats One is Trial for 15 days and Next is for Fixed Span of time and this can be for one year of greater to it also.
Any suggestions will be a start for me ..
There are frameworks out there to do this you will have to pay if you are not an open source project.
http://www.license4j.com
https://truelicense.java.net
Generally, these can be as complex or a simple as you like. It is easy to create such a framework. The trick is implementing a protection mechanism that isn't easy to fool. Generally you would want to encrypt the 'licence' data in some form to ensure that it couldn't be easily altered.
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 create a Java Desktop Application and want to employ some mechanism to protect my software from illegal copy. What is the general best approach to implement the serial number and activation protection for Java Application? If the user can activate the software correctly, where to store the activation info?
Thanks.
There can almost be only one answer: On your server, together with a significant part of your algorithm(s). If all the code has to be on the client, then all that could work is
Trusted computing (ultimately a hardware barrier)
Steganography (obfuscating, scattering, hiding, deceiving, ...)