Is JBPM the right tool for this? [closed]

We have a utility for monitoring directories and taking actions when files appear in those directories. It’s in java and takes the form of a standalone jar which launches several threads when started:

  • One thread periodically (every minute or so) checks for new instructions regarding which directories to monitor.
  • Another set of threads periodically checks each of the directories being monitored. New files are placed in a notification queue.
  • Another set of threads service the notification queue and run actions for each new file.

Now, the powers that be want to reimplement this utility within JBPM. The main goal is to permit file arrival to start workflows within JBPM. Secondary goals are to make the process more highly available, and perhaps to simplify deployment by having it run inside Jboss rather than as a standalone utility.

I have past experience with WebSphere process server–IBM’s BPM system–but JBPM is completely new to me. I’m struggling to see how to recreate this program as a set of JBPM processes, and it’s not even clear to me that JBPM is the right tool for the low-level logic of reading directories and processing lists of files.

I could write a simple one-step business process that just calls into the entry point for the old monitor utility. With more work, I imagine I could decompose the old logic into a couple of different business processes calling each other. I have a hard time seeing the point, though. On a more practical level, the utility is supposed to start up automatically–without being called by anything–and I haven’t been able to figure out how to do that for something deployed within jboss.

Should I be pushing back on this requirement to use JBPM? Or suck it up and get coding?

Certainly, jBPM may be overkill for the operations that you describe. However, you get a bunch of items for free (for some definition of free) when you use a modern business process management tool.

  1. Monitoring — Every process can be monitored with neat visual indicators.
  2. Reporting — Number of processes triggered, time to handle, delays in the system, etc.
  3. Graphical design of processes — Adding a new process can often be done using the web tools in the graphical editor, especially if the primitives are to hand.

More importantly than that, to some extent the whole process becomes future-proof. Here are some of the things that might arise in the future;

  • Human interaction. Some files may have to be reviewed, signed off or redirected by one or more humans. The BPM environment handles human-tasks handing things off to computer-tasks quite readily. Also, the BPM structure allows notification of the humans who have work to do.
  • Multi-computer interaction. BPM isn’t restricted to a single server; you can set up a number of co-operating servers that send each other messages.
  • Perhaps the most important aspect is that there is a fundamental evolution from file management to document management, and from task management to work flow management. BPM systems can help bridge this gap.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật