@@ -0,0 +1,596 @@
+@Service(OrderService.NAME)%0Apublic class OrderServiceBean implements OrderService %7B%0A%0A    @Override%0A    public BigDecimal calculateAmount(Order order) %7B%0A        BigDecimal amount = new BigDecimal(0);%0A        if (order.getHoursSpent() != null) %7B%0A            amount = amount.add(new BigDecimal(order.getHoursSpent())%0A                    .multiply(order.getMechanic().getHourlyRate()));%0A        %7D%0A        if (order.getParts() != null) %7B%0A            for (SparePart part : order.getParts()) %7B%0A                amount = amount.add(part.getPrice());%0A            %7D%0A        %7D%0A        return amount;%0A    %7D%0A%7D%0A

Create OrderServiceBean.java