I'm currently trying to synchronize an application running in the Unity Engine 5 with a jMonkey Java Engine using Hazelcast. Therefore I wanted to use a C# Client, which Hazelcast provides and integrate it into Unity. But it is built in .NET 4.0, which Unity doesn't support. The jMonkey/Java side is not the great deal, but i somehow need to connect my Unity Application with the Hazelcast Cluster. Does anyone know a solution for that? Or is it possible to use the Hazelcast.DLL in Unity although the limitations of Unitys .NET Version?
Not sure if the Hazelcast C# client is buildable on Mono (which is required for Unity) but you can get the sourcecode and try. If you have to do smaller changes to make it compile, we're always happy to see pull requests dropping in on github :)
https://github.com/hazelcast/hazelcast-csharp-client
Related
I would like to integrate the DOORS tool(requirement gathering tool) into my java application.
My application is a standalone application built in java, Can I integrate DOORS tool as a plugin or any other way into my java application.
Domorans project DriveDOORS might be an approach for you. See https://github.com/domoran/DriveDOORS.
Generally, there is no other official way to communicate with DOORS other than starting DXL scripts and getting the results from these scripts, so for every solution you implement you will have to have a DOORS client installed that you communicate with.
Update: I stand corrected: you should be able to use OSLC, see https://www.ibm.com/developerworks/rational/library/oslc-services-rational-doors/index.html
MDconnect by Sodius was a 3rd party tool that helped here, but it seems to be discontinued. But you could ask sodius at https://www.sodiuswillert.com whether they still support it.
Also, with DOORS 9.2 there was a C API that might be usable with java as well, but this also seems to be discontinued, I could not find a later version than this:
http://download.boulder.ibm.com/ibmdl/pub/software/rationalsdp/documentation/product_doc/DOORS/version_9-1/doors_api_manual.pdf
Hope this helps
Mike
I want to create application mobile with flutter but i need api java which is jena, so can we use library java.. In flutter if yes, so how?
You could use platform channels to communicate with native interfaces of your app, but looking at the library, that's probably not a good idea.
More drawbacks:
You have to implement native code twice, for Android (Java/Kotlin) and iOS (ObjC/Swift). That means an app depending on Apache Jena will only work on Android if you don't find a counterpart that works natively on iOS.
All communication through platform channels is asynchronous, which increases complexity.
When the API of the java library is complex, you end up duplicating a lot of code.
If your app heavily depends on Apache Jena, you have a few options:
Create a Backend Service in Java that does the processing which requires Apache Jena. Send the result to your Flutter client.
Write a native Android app that directly uses the library. Drop iOS.
Port the parts of Apache Jena that your app needs to Dart (probably too complex)
You would need a Flutter plugin that exposes the Jena API to your Dart code base over platform channels.
The bad news is that at least as of November 2018, no such Flutter plugin exists as yet.
The bottom line is that, yes, it's technically doable, but you would need to create the plugin yourself or motivate somebody to create it.
I currently have a Kotlin app that I'd like to expose with a REST API server. I'm finding really hard to decide for a web framework to build around it.
My background is Node.JS with express and I'm trying to find something at least similar to it at the level of middleware and modularity. But since I just started learning Java recently the getting started part is the major entry-barrier.
What striked me as appropriate was Spark but I can't find a way to separate my routes between different files and have local-per-file middleware.
I considered Play but it seemed that it needed a very big level of setup for a new app, even more if it's an existing one.
While my app ain't that big I plan on evolving it so I need something that can scale appropriately. So I'm asking what options do I have? I'm really looking forward on working with Spark if I can tackle those 2 issues previously mentioned, any help about them is appreciated.
Try one of these:
https://projects.spring.io/spring-boot/ (lots of libs, quiet complicated, but powerful)
http://restx.io/
Jersey2
Resteasy
I am wanting to develop a GAE application. However, I have used the play framework before and very much liked its layout. I was wondering whether the latest version (2.3 I think) works with Google App Engine? I have seen posts about this before. Some say it is not possible; I've seen a github project on porting the code over but no one has ever commented on the success of the project. I am concerned about losing efficiency/too much functionality.
Can it be done?
If not, any suggestions on frameworks (I know I am not really supposed to ask this second question on stackoverflow).
Have a look at this repo which enables you to package your Play app in a war that you can deploy onto GAE.
But you should consider the trade-offs before doing this. Play was designed to be stateless/Asynchronous and GAE runs on Java Servlet Spec. This means (generally):-
your Play app will not be truly asynchronous on GAE
you may reduce performance a bit because you are running in servlet container on GAE (depending on your app though you may not even be able to measure this so I wouldn't worry too much about it)
I have personally found that deploying my Play apps into Digital Ocean (I use Docker but you don;t have to) work really well for me. I have used GAE in the past but I wouldn't deploy a Play app there for the reasons stated above. Heroku is a nice alternative but gets a bit costly if you need to scale out.
I got Playframework to work on Goole App Engine (Flexible, Custom runtimes). It involves writing our own Docker image. The integration isn't seamless (e.g. default credential doesn't work, so we have to use a JSON credential).
See: http://tanin.nanakorn.com/blogs/345
I've done my research and narrowed this down. OK, so I am deciding on the language and and tool to use for backend (server side) of developing cloud based android applications.. I've decided on Google App Engine as my framework. As I am going to be developing on my android tablet I want a cloud based IDE. (I am going to use a native android IDE app for client side).
App Engine supports the Go Programming Language, Java and Python. As there doesn't appear to be a stable cloud IDE that supports Go, I am left with Java & Python. I've narrowed my vast list of IDEs down to:
Coderbuddy - (Designed for App Engine but Python only)
exo Cloud - (Java & Python supported)
Cloud 9 - (Java & Python supported)
I know neither language. I have to learn Java in any case for Android client side development. I understand that Python is faster to code in and so that's definately a factor but I absolutely don't want to sacrifice performance or scalability. I will be doing lots of SQL database stuff.
Finally if you think I am way off and should look in another direction please let me know. Thanks!
Edit: My background language is Delphi (Object Pascal)
My guess is that using Java you will have lots of frameworks to find solutions and I really don't think Python will offer you that.
About IDE, I don't think you should worry about it with Python, you can use SublimeText 2 or Eclipse(have to install python editor). Both work great and Python is easy to deploy.
With Java I use Eclipse but a friend is using NetBeans and it has some "shortcuts" to create things like services, for instance.
Also with Java, you'll be more familiarized because of Android so I think it is a plus, makes more sense.
You need to at least start so you can have a better idea of what is best for you.
And get ready, it will be a LOT different from Delphi ;)