1 / 8

Presentation

Presentation. Development Approach. A reference model developed for an important use case (Air Job) including UI widgets , controllers , services and DAOs . After full requirement analysis Entities and DAO layer interfaces are finalized, and implemented.

ada
Download Presentation

Presentation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Presentation

  2. Development Approach • A reference model developed for an important use case (Air Job) including UIwidgets, controllers, services and DAOs. • After full requirement analysis Entities and DAO layer interfaces are finalized, and implemented. • Individual was assigned use cases to construct both UI components and Service components.

  3. Flow of Development Activities Requirement Gathering and Analysis Entity and DAO Implementation Continuous Integration and Test Design and Development Of Use Cases Reference application development Improvement And updates in Reference App

  4. Development Activities

  5. Important Features

  6. Hibernate (DAO Layer) • JPA with Hibernate 3 as persistence provider • DAOs are configured through Dependency Injection and participate in Spring's resource and transaction management. <bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager"> <property name="sessionFactory"><ref bean="sessionFactory"/></property> </bean> • Open Session In View Pattern • To prevent LazyInitializationException" while rendering the view • CascadeType.ALL • For all parent-children OneToMany relationships in the system, such as customer to suppliers, job to subjobs etc

  7. Most popular open source Java reporting engine. • Jaspersoft iReport Designer 4.1.3 is used to design the 9 reports used in the system -> save us a lot of time • Easy Spring integration by configurating ViewResolver <bean id="pdfAirCosting" class="org.springframework.web.servlet.view.jasperreports.JasperReportsPdfView"> <property name="url" value="/WEB-INF/reports/aircosting.jrxml" /> <property name="reportDataKey" value="datasource"/> </bean> • Spring framework automatically compiles the .jrxml file on the fly into .jasper file on server starts up • The Spring ModelAndView is populated with report parameters in order to render the report properly

  8. Spring Framework's email support is used to send emails to simplify the e-mail sending process via JavaMail API. • Gmail SMTP server is used • Bean configuration file <bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl"> <property name="host" value="smtp.gmail.com"/> <property name="port" value="25"/> <property name="username" value="www.cargo.pte.ltd@gmail.com"/> <property name="password" value=“…"/> <property name="javaMailProperties"> <props> … </props> </property>

More Related