java - how to put excutable into war file using maven -
our web service depends on third-party executable have deploy war it. since war file unzipped , placed tomcat webapps folder, wondering if there way can place executable in war can unzipped tomcat when deploys , can phone call java code.
thanks!
i have done similar thing recently, whereby needed ship .dll java executable. not sure if best style, worked: packed .dll jar, extracted (copied) scheme 'temp' folder, , called system.load().
but in case, think such approach might tangled tomcat security rules. can offer insight if rules can modified allow webapp run executable?
else, there sort of tomcat "endorsed" folder in executable can placed. if it's static executable (wont alter often) might able deploy tomcat 1 time (separately war).
good luck.
java tomcat deployment executable war
No comments:
Post a Comment