<source lang = java>
1 public static void main(String[] args) 2 { 3 try { 4 LexEVSApplicationService appService = 5 (LexEVSApplicationService)ApplicationServiceProvider. 6 getApplicationService("EvsServiceInfo"); 7 Entity entity = new Entity() 8 entity.setEntityCode("C1234"); 9 List<Entity> list = appService.search(Entity.class, entity); 10 } catch(ApplicationException ex)\{ 11 } 12 }
</source>