Java Actions

0
will it be possible to create threads in Java actions?
asked
2 answers
1

Yes, this is currently possible.

answered
1

Like Achiel said, sure you can make threads. Be wary however of what you do with Mendix objects in your threads. If you want to hold a reference to a Mendix object you should add it to your session using Session.retain() (and release it later using Session.release()). If you don't do this then you risk that your objects are collected during garbage collection.

answered