@GET
    @Path("node")
    @Produces(MediaType.APPLICATION_JSON)
    @HttpCache("public, max-age=60")
    public List<NodeDto> getNodes()
    {
        DbConn cnx = null;
        try
        {
            cnx = Helpers.getDbSession();
            return MetaService.getNodes(cnx);
        }
        finally
        {
            Helpers.closeQuietly(cnx);
        }
    }
@ GET @ Path ( "node" ) @ Produces ( MediaType . APPLICATION_JSON ) @ HttpCache ( "public, max-age=60" ) public List < NodeDto > getNodes ( ) { DbConn cnx = null ; try { cnx = Helpers . getDbSession ( ) ; return MetaService . getNodes ( cnx ) ; } finally { Helpers . closeQuietly ( cnx ) ; } }
/////////////////////////////////////////////////////////////////////////