Loading presentation...

Present Remotely

Send the link below via email or IM


Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.


GWT + Hibernate


Tibor Vajda

on 29 March 2010

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of GWT + Hibernate

Views Client Server Data Transfer Object (DTO) Design by Contract Dozer Logging UI Design: Firebug Project build, test, deploy: Pojo Dependency Injection Hibernate Validator Asynchronity Statelessness Public services Strong types Persistence Business Domain RPC Command Request parameters Response Result Service request void getAddressFromString(String rawAddress) {
dispatcher.execute(new GetAddressFromString(rawAddress), new IFeedCallBack<GetAddressFromStringResult>() {

protected void handleSuccess(GetAddressFromStringResult result) {

} Callback Quality Quality Presenters JUnit GWTTestCase Selenium EasyMock EventBus Project management GWT browser plugin Logging Issue tracking: Automated build management: Development Environment: JUnit EasyMock Decoupling public class BillingModule extends AbstractModule {
protected void configure() {
} public class RealBillingService implements BillingService {
private final CreditCardProcessor processor;
private final TransactionLog transactionLog;

public RealBillingService(final CreditCardProcessor processor,
final TransactionLog transactionLog) {
this.processor = processor;
this.transactionLog = transactionLog;

public void chargeOrder(PizzaOrder order, CreditCard creditCard) {
ChargeResult result = processor.charge(creditCard, order.getAmount());
} class Phone implements ContactDetail {
final ContactDetailId id;
String number;
String label; // work, home...
} class PhoneEditorPresenter {

interface Display {
HasClickHandlers getSaveButton();
HasValue getNumberField();

void bindDisplay() {
display.getSaveButton().addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {

void doSave() {
service.execute(new UpdatePhone(phone), new UpdatedPhone() {
public void onSuccess() {
public void onError(Throwable error) {
} Szoftverfejlesztés GWT + Hibernate környezetben Vajda Tibor
Innofeed Kft.

+36 20 36 56 302 Model Repositories Queries Entities Value Objects Query implementations Repository implementations MySQL GIN
Full transcript