JSF编码用于在不使用main方法的情况下同时运行两个进程 [英] JSF Coding for running two process simultaneously without using main method

查看:85
本文介绍了JSF编码用于在不使用main方法的情况下同时运行两个进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

其实我想要处理500个文件。因为这个过程需要很长时间才能完成。所以同时我希望我们可以执行其他活动并让第一个进程在后台运行。



请使用tomhawk,JSF建议如何执行以下操作和java。



提前谢谢。

解决方案

Java中的线程 [ ^ ]



保持对服务器的操作,只将结果呈现给客户端 - 异步。

Actually i want to process 500 files. for that it will take long time for the process to complete. So at the same time i want that we can carry out other activity and let the first process run in background.

Please suggest how to do the following using tomhawk, JSF and java.

Thanks in advance.

解决方案

Threads in Java[^]

Keep the operation to the server and only present the result to the client - asynchronous.


这篇关于JSF编码用于在不使用main方法的情况下同时运行两个进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆