How to modulate from A major to B Major?
I'm writing my first serious piece of music but I have a limited knowledge of music theory. Most of what I have is my improvisation on the piano, though the piece does have a structure. I had a melody section in A major that I ended with a cadence. I want to have a transition section starting in A major and ending on a B major arpeggio so that I can play a variation of the melody in E major. So I was wondering what sequence of chords to use in the bass to transition from A major to B major over a sufficient period of time? I don't want to simply jump the gap, I want it to seem organic.
Also, it would be great if the modulation had some chromatic non-functional harmony as the style of the piece is in the Romantic fashion. Thank you!