I want to develop a Java game that works on adhoc wireless environment. Do you know any source that I can search for it and learn for it?
Adhoc and wireless is not related to Java. An ad-hoc wireless network is something that two computers can set up between each other to create a network. At that point your Java game is using a network the same as any other network (the fact that is is wireless and ad-hoc is irrelevant - to Java it looks exactly the same as a wired network for example).
Your java program will then have the same TCP/IP and UDP/IP stack available to it and can use Socket/ServerSocket (TCP) or DatagramSocket (UDP) to communicate.
The following page gives an overview of networking in Java:
http://docs.oracle.com/javase/tutorial/networking/overview/networking.html
And the following page has an example of a very small simple networked java game that might be helpful to get to grips with the basics: