How to use existing java class from grails

后端 未结 5 628
执念已碎
执念已碎 2021-02-10 18:19

how can I call a method residing in an existing Java class from Grails app ? Is it necessary/recommended to wrap that up in a service?

5条回答
  •  南方客
    南方客 (楼主)
    2021-02-10 18:49

    If you have them packed in a .jar file then just drop the jar file into your-project/lib

提交回复
热议问题