I'm creating a P2P Java application in JXTA, for simple messaging between peers. I want to create a similar program on the iPhone, that will be able to talk with this java JXTA program. Is this possible to do? I know theres JXTA-C which would work on the iPhone, but I'm not sure if the JXTA-C will communicate properly with JXTA-Java.
Is there any way to run java on the iPhone if thats the case?
Any insight would be really helpful, thanks!
Current released JXTA-C will talk with Java stack.
The new JXTA-C under development with Peer View 3.0 protocol won't work with Java stack.
JXSE (the Java implementation of JXTA) release 2.6 & 2.7 comply with the JXTA 2.0 specifications. Hence, JXTA-C should be compatible with these.
Related
I have an RMI application that has service implementation and it has a lot of code in it and I do not want to redo the business logic just to support an iPhone app.
Could someone assist me on a best way to access these RMI services using Objective C? Or is there any other way for making this possible, please let me know if this is a terrible question, being a software programmer, I would expect that there would be a way for heterogeneous programs to communicate with each other, so this question comes to me with that assumption.
There's no Java runtime in iOS, nor any support for Java in the SDK, and an Objective-C app can't start up another process on the device (unless it's jailbroken), so there'd be no way for your app to run a JVM. So the only other option I know of (short of rewriting the Java code) would be to make your Java functionality available via web services.
Also, there's no direct way for applications to communicate with each other (or for that matter to even be running in the foreground simultaneously) in iOS.
i am trying to write a voip client using h.323 in java and i was wondering if someone could point me as to which api is available in java and if there is any tutorial available for it.anything relevant would be really appreciated. thanx
You don't have many options for H.323 in Java. The best is probably OPAL. It includes a Java wrapper to use the C++ class libraries that allow you to implement a Java H.323 client.
IBM used to have a native Java H.323 stack, but I'm not sure if that is maintained anymore.
So we want to develop a service app (web Service with post/get API). What is language to go for secure, fast, enterprise app for about 2000 employers to use with about 20~40 services for interacting with DB server (which in my case will be Oracle) Dev time a year Dev team of 3. All capable of righting C++ code as well as Java (so they will now them equally bad at the beginning of process)
Definitely java! You might want to check the jee6 tutorial on JAX-WS to get an idea of how web services are created using enterprise java (http://download.oracle.com/javaee/6/tutorial/doc/bnayn.html)
This will also guide you on how to do it using the netbeans IDE (http://netbeans.org/kb/docs/websvc/jax-ws.html)
Cheers!
You'd be masochistic to try this with C++! Definitely Java, J2EE whatever (look at various technologies from groups such as JBoss). The development process will be significantly faster using these existing technologies than writing your own...
The question is not what language to choose but which "architecture" or paradigm.
If you want/need to use SOAP then C++ might be fine, go and google for "gsoap". However I would recomend Java and REST as architecture paradigm, well we would need to know more what you really want to do. Perhaps some RMI or CORBA would be much easier. If you want to play with Java, Groovy or Scala (all languages run on the Java JVM), then google for "restlet".
Best Regards
Angelo
I would suggest using the Java / Netbeans combination.
Netbeans has a number of tools which makes web service development easy.
Good overview here.
Netbeans allows full use of JAX WS and Metro and is integrated with Glassfish and Tomcat servers (part of Netbeans download) so you can get up to speed really quickly.
you can use either C++ or Java depending what you're implementing. To see an example on C++ check out this great post by IBM Engineers: http://www.ibm.com/developerworks/webservices/library/ws-xml-rpc/
Are there any good Java cross platform SIP / VOIP dev kits that you have personally used? I've found one or two that seem like they could be worthwhile pursuing, but I'm still not 100% sold on them.
http://www.voipdevelopmentkit.com/
That seems to be the leader at the moment. However, it doesn't look like they are developing still. I've had a few emails with them and the answers provided were great.
I have a Java application that requires an inbuilt SIP endpoint. I'd like to avoid wrapping native libraries if possible, as this application needs to run on Windows, Mac OS X, and potentially Linux systems.
Something with third party call control (3pcc) would instantly top the list, but it's not a 100% requirement as I figure I can implement that myself without too much worry.
try peers, this is a java sip client I developed. It is typically used to add telephony feature in an already existing application. It is 100% pure java and cross platform (works on windows, linux and mac).
Check JAIN SIP it is the reference implementation of JSR 32, free and public domain and very active https://jsip.java.net/
I am trying to write a Java application showcasing Bluetooth features. On general search, I found JSR82 has been defined for the same.
I am not able to figure out exactly how to use it. I am using standard java 1.6 and I believe for JSR82 implementation I would need J2ME running.
I need help to understand how to use the 2 java editions together. I have never worked with the Micro Edition before. Would appreciate any inputs.
Thanks & Regards,
Keya
You can simple try using a JSR82 implementation on your mobile device - it should work.
This site has some good information about it.
Here are two JSR82 implementations I know of:
Bluecove
Avetana
Go to http://java.sun.com.
Install the jdk and the latest full version of Netbeans for your linux computer.
Use Netbeans to create a HelloWorld mobile application
Run it in the Wireless ToolKit emulator packaged into Netbeans.
That should work right out of the box.
You then need to read the JSR-118 specification to understand how a MIDlet works.
Then read the emulator documentation to figure out how to provide bluetooth data to your MIDlet.