我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

使用php / javaBridge而不运行tomcat

Is it possible to run java code with php/JavaBridge but without installing tomcat?

I'm using laravel framework.

Yes its possible you need tomcat or another webserver only if you need a servlet container. You can start the bridge without tomcat with the following command.

When you click on the link there is an example in the documentation.

#java -classpath JavaBridge.war TestInstallation

http://php-java-bridge.sourceforge.net/pjb/installation.php

近期文章

  • PHP mysqli_fetch_assoc存储到一个数组中
  • 用于在sql php中存储折扣的数据类型[关闭]
  • Codeigniter项目中不断出现404错误
  • 我们如何为select2添加静态标签
  • 在php中的每个字符串中转义单引号
  • PHP:似乎无法使用MySQL查询日期
  • PHP正则表达式提取键值逗号分隔
  • MySQL结果集按固定位置排序
  • 数组中的尾随逗号导致解析错误
  • 通过多维数组生成JSON
  • PHP - 从String创建base64编码图像[关闭]
  • 嵌套选择制作流行度算法
  • 如何从sql中的特定日期获取数据
  • 使用ajax响应更新图像的src
  • Laravel Parse错误:语法错误,意外'?' [重复]
  • Bootstrap 4 JavaScript无法运行Symfony4
  • 我如何使用PHP中的动态变量
  • Zend - 使用htaccess重定向到“public”子目录
  • PHP soap服务器双重编码html字符串
  • 是否可以一次查询3件事?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华