Let $(M, \omega)$ be a symplectic 4-manifold and let $A$ and $B$ be symplectic submanifolds on M such that $A \cap B = p \in M$.Under what conditions can I find a $\omega$-compatible almost complex structure $J$ such that both $A$ and $B$ are J-holomorphic.
I understand that one would require certain necessary conditions like $[A] \cdot [B] = 1$ (In order to satisfy positivity on intersections in dimension 4) but is this condition sufficient?