Servlet 3.0 (JSR 315) support in Maia
Now, configure your servlets and filters with @WebServlet and @WebFilter annotations:
Everything is recognized by IntelliJ IDEA, as well as Web fragment descriptors and static resources packaged in libraries.
You can also use built-in Glassfish v3.0 integration to deploy your applications. Good luck!