EK777 - as long as the first flight is not significantly delayed and you have an EU passport, you should be absolutely fine.
As advance preparation in case the flight is delayed, have a look at a map of Dublin airport on the web so you know in advance where you'll be heading and maybe print it out on paper. If the first flight is heavily delayed in departing, and your assigned seat is a window in the middle of the aircraft, explain to one of the cabin crew about the tight connection and they may let you have an aisle seat near the front door.
Enjoy your trip !