Can i use ulink2 like stlinkv2 or debugger ?
Someone more experianced than I may chime in but here is my understanding. To use the ULink2 with Eclipse you have to use the Keil compiler and debugger. That said from what I can tell (I have a knock-off ulink2 that I rarely use) the ULink2 is a fairly standard JTAG debug interface so there is probably some way to make it work.
If you are a hobbiest there are several STLink v2 clones out there. I wouldnt trust them in a production enviroment but for learning or hobby work they are probably ok. I see them as cheap as US$4.89
The other option is to just pick up a Nucleo board such as: http://www.mouser.com/ProductDetail/STMicroelectronics/NUCLEO-F103RB/?qs=sGAEpiMZZMsiJ7OlpASoDgGMOyhO9vRQS9Wai1BmruU%3d and use the instructions here http://jeelabs.org/book/1547a/index.html
to use it with another board/chip that does not have the stlink.