No, the fundamental structure of a "type 2" add-on and a "Connect" add-on are totally different. You could share code in some parts, but they're packaged in totally different ways.
Start at https://developer.atlassian.com/index.html for both types and a general introduction to developing for Atlassian.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot