Remote Handling PLC using Web based java application [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
we are developing an simulator application where user can create simulation and run the logic. now in second phase of our project we required hardware triggering using web based application . i required some information on how i am going to interact with PLC machine using my java code we are using modbus serial communication but can be changed if you have some other better solution. as par my research we have seen OPC server but i didn't get anything from that. i want some one can help me to understand what will be flow. how to proceed with this. do i have to write driver for communicating with my application and PLC.
What need to be done complete approach this task. if you have any link please share
thank you

I don't know if this is helpful for you, but we have a java library (LGPL 3.0) which talks natively via TCP/IP with S7 devices.
have a look at http://openscada.org
we also have a OPC interface which is written in plain JAVA, no Windows required.

I use this.
http://www.modbusdriver.com/shop/index.php?cPath=0_42
It is cheap, and the examples and support are good. Their support is out of Australia, though, so you will either be answered at 6:00 at night or while you're asleep.

Related

How to make a simple Java LAN server for a game [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm currently making a simple game in Java where players move around a maze that is constantly generating around them and killing monsters that spawn. However, I wanted to improve this by adding a simple co-op functionality across their LAN. I've never looked into networking at all and thought it would be a good idea to learn a bit about it by trying it out in my game.
Are there any simple useful tutorials on how to make a basic peer-to-peer server which would let people connect over LAN, specifically Java but how they work too?
There are several ways you could develop a LAN multiplayer game. I suppose that the easiest one would revolve around using Sockets.
With this in mind you'll need to create a server application that will accept incoming connection from clients and would then marshal the whole operation. With that in place you'll need to create the clients that will connect to said server.
I suppose that other than plain sockets you could also implement the same functionality using Java's RMI. You can take a look at an example here:
https://docs.oracle.com/javase/7/docs/technotes/guides/rmi/hello/hello-world.html
A simple Google search though should yield quite a lot of results and examples regarding this matter (LAN games in Java).

Implementing simple socket communication between android device and java server using json objects [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm trying to build an Android application which runs a service.
The service needs to pass certain device information to a custom server and receive some from the server.
Currently I've chosen a simple socket programming and JSON objects to implement this.
Can anyone suggest a suitable library for implementing this communication?
I'm a newbie and foresee a number of complications in implementing this.
The Android Volley Library will make your life easy if you are looking for a library and don't want to get into low level connection handling and they got some sample too on their Page.
Use Smak library its simple and free. Its based on SMTP. You should go through it, consider it for future enhancement

Open source library in Java for communicating with OPC HDA Server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am trying to create an application which entails communication with an OPC HDA server to get historical values of tags.
I was wondering if there are any free/open source libraries available in Java which can help me do that.
I have already tried the following options:
Integration Objects Java Wrapper: It internally uses JNI. When client and server are not co-located, it is difficult to get it working. It is licensed.
jInterop: Implements the MSRPC protocol and thus does not rely on JNI. Is portable. However, the OPC HDA interfaces are quite complex and I was not able to call them via jInterop. Also the errors that it throws are quite obscure, so troubleshooting is a major issue with this library. The call that I was not able to get working was the IOPCHDA_SyncRead::ReadRaw.
For the reasons stated above, I am not keen on using both these libraries.
Any help/pointers will be greatly appreciated.
Thanks,
Saurabh

Hosting a web app that uses java and rails code in it? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I have a web app developing and I want to host it via any commercial hosting company however my app is using Java code that works on background and Rails code for user interaction. What do you think about the hosting company that provides such a infrastructure for such a architecture? Is there any that you would suggest?
This is possible on any server that you are in control of (dedicated server, VPS, EC2, etc.). I am not sure of any shared hosting solution that allows this. Your solution really depends on the traffic you are expecting.
The following are examples of servers in "the cloud"
http://www.linode.com/
http://amazonaws.com
http://rackspace.com
You can get a server from most hosting companies. It will either be advertised as a dedicated server (a physical machine) or a VPS (Virtual Private Server)
In the past I often used Heroku (http://www.heroku.com/) for Ruby on Rails projects. One web process is free and the deployment is really easy.
They also have support for Java background processes (http://devcenter.heroku.com/articles/run-non-web-java-processes-on-heroku)

Java API to make a phone call [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Is there any Java API to make a phone call to a mobile(provided that service provider support will be arranged to make that call)?
myProgram(A) --> Java API to make a call like Skype(B) --> PSTN/Mobile network support(c)
Module A will be my Java code and it'll call the B's API which will in turn transfer the call to my service provider.
I'm looking for an API at level B. Also, I'm not using Android. I want to run this code on my server.
I tried and landed upto skype.
For using Skype, Skype should be installed on the machine(which I don't want).
Is there any other solution to do this?
Did you already take a look on Asterisk? There is a Java API.
There is Java Telephone API (JTAPI). You can take a look at that. It have different implementations, like xtapi, gjtapi. I have worked with xtapi.
It allows you to make/receive a call.

Categories

Resources