during the early days , post pearl harbor , america suddenly found itself in the position of having its eastern seaboard invaded by german u-boats and its western seaboard invaded by japanese submarines .