1992-1997 engine swap

Is it possible to transplant the 2.2 engine from a Corsica into a 1997 Cavalier.Is it a direct fit or what modifications do I need to make? What about the computers ? Which one do I use? Thank you for your help in this matter.