Every component of joomla have route.php, this file make friendly url, but it is not really good. As I know, using .htaccess is better way for every component. Further more, in a site, we often use many components, not only one, so your question seem difficult to answer.