Reference implementation for a JMX connector? - jmx

I am looking to implement a JMX connector for an existing server project that has its own wire protocol, where the connector re-uses the same wire protocol.
Can anyone tell me where I can find the sources of a reference connector? The JMXMP implementation would be ideal as inspiration, however that's proving hard to track down.

The JMXMP sources live in OpenDMK project
You will need to download the zipped sources archive as there is no source repository available.

Related

How to keep samba connection with TOSMBClient Library

I'm following TOSMBClient library link:TOSMBClient to share file from pc to my iPhone,This library is working to connect and copy file to my iPhone. But it takes very long time to connect to host and every time when copy file is done samba will disconnect. I want to keep samba connection.
Have anyone have idea or used to work with TOSMBClient library please help or suggest idea.
I'm the original developer of TOSMBClient. :)
The library is a thin Objective-C wrapper around another library called libdsm. The process of connecting to a host is at libdsm's level, so if your particular connection is slow, there's not a lot that can be done on the TOSMBClient level. It might be worth reporting an issue on libdsm's Github repo describing your hardware setup.
The connection dropping after a file copy operation is complete is curious. I can't be sure where that issue might be happening. Again, more information would be required. A complete set of steps to reproduce would be great. If you get the chance, feel free to file another issue on the GitHub!

Implementing phpsysinfo into zf2

does anybody know how to implement phpsysinfo into a ZF2 project?
I need a brief overview what is hapening on the server without having to connect via ssh to the server. There are a lot of monitoring software I know, but this will do the job for me. Thx for any reply...
phpSysInfo is a standalone software, which is not intended to be integrated into another project (e.g. ZF2)
You can probably reuse some classed from the source code, if you build a ZF2 module

Codenameone with WSDL NB - ClassDefNotFound

I have used NB to add a "client web service" to a Codename one app through the NB interface. This works fine in the simulator.
The WSDL classes are generated during build automatically and I have them landing in com.myco.myapp.generated package.
Having checked the generated JAR the WSDL classes are there all ok.
But when I push this to the "build for Android" to codename1, run on the device I get
An Internal application error occurred : java.lang.NoClassDefFoundError: com.myco.myapp.generated.SimpleStockList_Service
But the class is definitely there in the JAR.
I am sure its something to do with the JAR and its manifest, but never really had to get behind the scenes with Ant and JARs and builds to know what to do.
As the classes are generated during ant build, I can not pack them up into a library. (tried that and get fail due to 2 instances of same class.)
Codename One doesn't support binary libraries at this time, you will need to integrate the source code into the build process. There are many complexities involved in supporting binary libraries in such a setup.
Thanking Shai for his help.
Ultimate answer is not to use WSDL as moving objects relies Serialization which is not included in the small Java package.
Due to this I created a custom servlet which codename1 ConnectionRequest can deal with via a standard HTTP request.
This is how I achieved it
http://www.jamesarbrown.com/?p=164

Connecting to sFTP from within an iOS App

I'm new to Objective C and Xcode, but was wondering how to connect to a SFTP within my application. I've successfully connected to FTPs before, but was hoping to keep more secure in the future. When connecting with a regular computer you need a special SFTP client, so I wasn't sure what steps I'd have to take to connect within an iOS App.
Also, what are your opinions of SSH FTPs Vs. SFTPs?
There are plenty of open source libraries like NMSSH or DLSFTPClient. Please, don't use proprietary components, support open source.
Your best bet is to download a library and put that into your app. I would recommend Chilkat. He has wrote a lot of stuff for sftp.
Good luck.
look at some of these (http://www.example-code.com/ios/sftp.asp)

what is the best free ftp component for delphi

I'm using delphi6, and our company don't want to upgrade it,
and I found Tidftp lack the MLSD command,
So what is the free ftp component you are using now?
ps : I searched for one on Google, but I don't know which is stable and standard.
I haven't used Synapse, but I hear good things and it looks good. The SVN on Sourceforge has much newer code.
Support for FTP protocol (support many
firewalls including custom ones,
upload and dowload resuming, transfer
between two FTP servers). Implemented
directory list parsing too. SSL/TLS
support.
Support for TFTP protocol (client and
server).
Beyond that I have had good luck with Indy's TidFTP, although I have used Indy 9 more than 10.
BTW, I don't know about the MLSD command specifically, but it seems like there was a way to send custom commands to the server with Indy. I know I actually used it to implement a more detailed directory listing, so that may have been the MLSD then . . ..
Done!
download the newest Indy component, and TidFtp is good to use!
You can also check ICS TFtpCli
http://www.overbyte.be/frame_index.html

Resources