Export your project in Eclipse as a jar file under minecraft(-server)/plugins folder, and restart/restart the minecarft server.
On your minecraft app, after connection, type in command 'chickenstorm' to spawn chickens on your app. You will send random number of chickens (< 3) are spawned in your world.