I am currently writing a custom language plugin for idea and sooner or later i will need a module or something similar.
I heard about facets and i am now a bit confused about modules and their relation to facets.
Will all modules be replaced by facets or only J2EE?
What's more convinient: to implement a module or facet or both?
And in general: what's the functional difference between module and facet?