Using Java with Mikrotik

Hello, I’m new here, this is my first post and I’m still learning :wink:.

I’m creating a Java Program to help me with my job.

And I wanna know if, there is a way to my Java Software send commands to my MikroTik’s, like ‘add an client to the (/interface wireless access-list)’, or ‘add an filter rule to the firewall (/ip firewall filter)’, or simply get the torch of my interface (/tool torch ether1), directly, like without need to open winbox for this or running a ssh console in background.

for example,

I have an Oracle Database, I’ll insert a new client using my Java software interface, and with the informations of this client (MAC-address,AP, etc..), I click on a button and the software send a command to the MT adding this client to my Wireless Access-List, or simply when I finish the insertion to the database the software do this ‘add’.


Thanks for now.

on wiki and here in forums search for API, and you will find different examples on how to use API, so you can interface RouterOS from your applications.