I am currently in the process of developing a Thunderbird extension and I would like to incorporate functionalities from specific Java libraries. However, since the TB extension is coded in pure JavaScript, I am facing challenges in determining the most effective way for these two technologies to interact with each other.
One idea I had was potentially sending an AJAX request from the TB extension, then catching it with Java server code and responding accordingly. While I am comfortable working with AJAX, my main focus is on the "java part" of this issue. I understand that this could be resolved by capturing the request with a servlet, but I am curious if there is a solution utilizing "pure" Java instead. Can anyone confirm if this is feasible or provide me with example code to reference?