Related to open source sip client phone (Peers opensouce) - java

Iam using a open source code of Peers Java SIP Softphone downloaded from http://peers.sourceforge.net/.
I want to run this application on linux operating system but when iam placing a outgoing call from this application the call established late after creating a connection receiver voice coming late only in linux os.
And when i run this application on windows so the application response proper but for windows i have to use jdk32 bit

Related

How to get and set values from a UPS device using SNMP?

I have a java web application running in my workplace.
I was asked to create a new application to "communicate" with network devices and read their statuses.
As an example I started working with a UPS, which is connected to my network with its own Network Interface Card.
I can monitor its status and details with its built-on platform entering with its IP address on a browser. But the idea is to add some of these details to the original web application.
To my understanding I can use a SNMP library for Java and create an application to get and set values to it. In my case i'm using the SNMP4j(V3) library, I imported it to Eclipse (IDE), but have no idea on how to continue from there really.

How to execute remote COM dlls?

I am having a problem about running a COM dll remotely on windows PCs.
I have a COM dll registered in all the client stations (windows) of my network and a .NET application hosted on a server in my network.
There is a POST request, which will receive the client ip as a parameter and the application will execute a remote call to the dll installed on the pc of the ip passed in the request.
I already used PHP with XAMPP, I could verify that it works locally, although XAMPP reboots a few times (I still do not know the real reason). one solution would be to install locally on each client a network xampp server with a php application receiving requests and running the dll locally, but would be impractical in view of the amount of computers available on the network.
Still with PHP, I saw that it would be possible to remotely call this faq from the php documentation, but to no avail. I'm starting .NET with C # because I believe being native (windows) will be better/easier to get results, but I have not yet found a plausible solution to run the dll remotely.
As a result, I will have the opening of the COM dll program already registered in the client pc (ip passed in the POST request).
Has anyone gone through this or do you have any idea how to run a dll remotely with .net, java, php or other technology?

eclipse weblogic outbound calls

In Eclipse we have configured weblogic server and we have deployed the java application. How to trace all the call with request and reponse made by the weblogic server like wireshark. since my company wont allow the wireshark to install, I need alternative for wireshark.
Any help will be appreciated.
You can trace network traffic on your VMs in Azure by using Packet Capture, which his a feature provided by a service called Network Watcher. Packet Captures created by Network Watcher can be saved to your blob storage account or locally on the VM, and the tool works for Windows and Linux.
Packet Capture Overview
Network Watcher Overview

Windows logged user informations

I want to create an application in java that is monitoring logged users activities(create, delete, update folders/files).
The problem is that I didn't found how to get the OS of the logged user (java app is running on a windows server and users have windows on their machine, I want to know if there is a way to get the windows version of the logged users).
BRs,
Mihai
You would use JNI and call a native (windows-specific DLL) method to get the information. You would have to create this DLL yourself in (likely in C/C++)
System.getProperty("os.version")
If it's a web application you can use user-agent header. It can change easily, but worth to try. Check https://stackoverflow.com/a/1328393/5684110.
You're asking for a Windows-specific feature. I doubt Java would support that, so you will need a native module (written in C/C++ or something) to read that information and pass it into your Java application via JNI or a local socket connection. Maybe you could poll that data from Active Directory.
Another idea is, you could get the info through another Java app running on the client PC at startup. That way you would be able to monitor changes in the file system and some basic system properties like OS name and version (see Mustafa's answer). The app would be silently downloaded into the workstation and run automatically through Active Directory, sending the data to your server app via socket, web or a webservice.
Hope this helps you.

open an exe which is on remote machine using Java

open an exe which is on remote machine and not on my local machine which has hub and node using java selenium,I do not know if that's possible or not.I am looking for a slution.
you can use psexec to do it.
Download from here:
https://technet.microsoft.com/en-us/sysinternals/pxexec.aspx
I would suggest that on the machine where you want to launch your exe you will run some Webserver running some web application that also could be written on java or any other language. That web App should expose an API (REST API is one of the popular options) that woulsd receive request and upon that request will launch your exe. Now on your remote machine your java app (or any other app or just a brouser) will need to send a regular HTTP request to your webserver, and your web app will do the launch

Categories

Resources