You are far better taking the bus that picks up outside Jury's Inn, it goes straight to the airport, is not very expensive and is fairly comfortable. You can do that or Ulsterbus at the bus station at the Europa, which is a little more expensive than the Jury's bus and a little more crowded, but also drops you off right at the airport. If you take the train you aren't near the airport at all when you arrive in Dublin.