672329 members! Sign up to stay informed.

Sponsored Links


Resources

Enterprise Java
Research Library

Get Java white papers, product information, case studies and webcasts

News News News Messages: 18 Messages: 18 Messages: 18 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

The J2EE Architecture of the Brazilian Healthcare

Posted by: Stephan Janssen on January 28, 2006 DIGG
In Brazil, every citizen has the right to full healthcare, from primary care to complex procedures as heart transplants, for free, any place in the country. With a population of 180 million people, information is the key to better distribute resources and provide better healthcare.

Taking advantage of the Java based infrastructure of the Brazilian National Health Card, in 2003 a huge project was started aiming to build an integrated web based application to collect patient encounter information, to regulate complex procedures authorizations and to build an integrated patient scheduling system that would allow to schedule consultations and medical procedures in any health provider. This reduces the waiting time, organizes the flow of patients, and greatly improves the quality of care.

The challenge was to build a quality application in a short time frame. This presentation on The J2EE Architecture of the Brazilian Healthcare will focus on how J2EE technology was extensively used to build this mission-critical application and to achieve the level of integration needed. Using J2EE technologies such as EJB, Servlets, JSP, JMS, JTA, and JAAS, it was possible to create a robust and high performance application, with a high level of reuse and flexibility.

From the time the first use case was specified to the time the information system was deployed, only four months had elapsed and 2.5 million lines of code were produced. As a result, this project won the Duke's Choice Award at JavaOne 2005.

This session will share the experience of building such a system, showing how it was designed, the challenges, the problems, what changed in the health system once it was deployed, and show the importance of the decision on using a standard based and multi-platform architecture, that allows several independent teams to augment the information system, adding value to it and improving the quality of care.

Threaded replies

·  The J2EE Architecture of the Brazilian Healthcare by Stephan Janssen on Sat Jan 28 07:34:37 EST 2006
  ·  AMDD talk by Stephan Janssen on Mon Jan 30 08:15:35 EST 2006
  ·  The J2EE Architecture of the Brazilian Healthcare by Rodolfo de Paula on Mon Jan 30 10:45:39 EST 2006
    ·  The J2EE Architecture of the Brazilian Healthcare by Rogerio Saulo on Mon Jan 30 12:32:07 EST 2006
    ·  The J2EE Architecture of the Brazilian Healthcare by Erik Bengtson on Mon Jan 30 12:41:53 EST 2006
      ·  The J2EE Architecture of the Brazilian Healthcare by Rogerio Saulo on Mon Jan 30 12:54:56 EST 2006
        ·  The J2EE Architecture of the Brazilian Healthcare by Timur Evdokimov on Tue Jan 31 03:50:49 EST 2006
          ·  The J2EE Architecture of the Brazilian Healthcare by Werner Punz on Tue Jan 31 05:24:59 EST 2006
      ·  The J2EE Architecture of the Brazilian Healthcare by Rogerio Saulo on Mon Jan 30 13:00:48 EST 2006
        ·  The J2EE Architecture of the Brazilian Healthcare by beton beton on Mon Jan 30 13:18:58 EST 2006
  ·  2.5Mloc in 4 months ? by Alain Rogister on Mon Jan 30 14:45:43 EST 2006
    ·  2.5Mloc in 4 months ? by Stephan Janssen on Mon Jan 30 14:52:03 EST 2006
      ·  2.5Mloc in 4 months ? by Alain Rogister on Mon Jan 30 15:09:14 EST 2006
        ·  2.5Mloc in 4 months ? by Shahzad Masud on Tue Jan 31 03:01:25 EST 2006
          ·  Key contents for such large code by Ulas Ergin on Tue Jan 31 03:23:00 EST 2006
      ·  2.5Mloc in 4 months ? by Alain Rogister on Mon Jan 30 15:45:56 EST 2006
        ·  2.5Mloc in 4 months ? by Alin Dreghiciu on Tue Jan 31 03:03:37 EST 2006
  ·  brazilian citizens by Nicola Viragine on Tue Jan 31 08:33:32 EST 2006
  ·  the true by Marcos Almeida on Wed Feb 01 10:42:24 EST 2006
  Message #198651 Post reply Post reply Post reply Go to top Go to top Go to top

AMDD talk

Posted by: Stephan Janssen on January 30, 2006 in response to Message #198596
Check out also the Scott W. Ambler JavaPolis 2005 talk on Agile Model Driven Development @ http://www.javapolis.com

This presentation explores the values, principles, and practices upon which AM is based and identifies when AM will and will not work in practice. It defines what it means for a model to be agile and presents numerous examples. The concept of agile documentation is described, and a discussion of how modeling is performed in an agile manner on both XP and RUP projects is overviewed...

  Message #198672 Post reply Post reply Post reply Go to top Go to top Go to top

The J2EE Architecture of the Brazilian Healthcare

Posted by: Rodolfo de Paula on January 30, 2006 in response to Message #198596
In Brazil, every citizen has the right to full healthcare, from primary care to complex procedures as heart transplants, for free, any place in the country. With a population of 180 million people, information is the key to better distribute resources and provide better healthcare.

About the IT project itself, i still need to know about it but I am sure it have all merit. But the statement above must be clarified:

The first phrase is kind of true. "Kind of" because we don´t have any decent public service, even more healthcare. Let me give you an example on how things works around here: we brazilians also supposedly should pay a maximum of 12% / year of interest rates since our laws state this ("great" idea, interest rates specified by law, what a joke...) but in fact i guess we do have the bigger interest rates in the world.

So in practice we do have to pay something like 10 times or more. The same applies to the "rights" we do have for healthcare: you supposedly should have but in practice you just cannot see it. Just try to see what I mean. I tried it.

Government taxes ? What about more than 35% per transaction ? Yeah, with all this money these IT government folk should be able to do a _lot_ more.

What a hell this monday...

  Message #198682 Post reply Post reply Post reply Go to top Go to top Go to top

The J2EE Architecture of the Brazilian Healthcare

Posted by: Rogerio Saulo on January 30, 2006 in response to Message #198672
Rodolfo,

You are completely RIGHT!!!!!

+1

  Message #198684 Post reply Post reply Post reply Go to top Go to top Go to top

The J2EE Architecture of the Brazilian Healthcare

Posted by: Erik Bengtson on January 30, 2006 in response to Message #198672
"Kind of" because we don´t have any decent public service, even more healthcare.

I'm brazilian and recently moved to Europe. Besides what every brazilian things about living abroad, here healthcare can be worst than public healthcare in Brazil, and at least private healthcare in Brazil is not that expensive.

  Message #198685 Post reply Post reply Post reply Go to top Go to top Go to top

The J2EE Architecture of the Brazilian Healthcare

Posted by: Rogerio Saulo on January 30, 2006 in response to Message #198684
I'm brazilian and recently moved to Europe. Besides what every brazilian things about living abroad, here healthcare can be worst than public healthcare in Brazil, and at least private healthcare in Brazil is not that expensive.

In what country you live Erik ???

  Message #198688 Post reply Post reply Post reply Go to top Go to top Go to top

The J2EE Architecture of the Brazilian Healthcare

Posted by: Rogerio Saulo on January 30, 2006 in response to Message #198684
Checkout this Erik.

http://www.cadtm.org/IMG/pdf/TextoConferenciaMumbai.pdf

  Message #198696 Post reply Post reply Post reply Go to top Go to top Go to top

The J2EE Architecture of the Brazilian Healthcare

Posted by: beton beton on January 30, 2006 in response to Message #198688
greate site - serves dir /img :)

  Message #198704 Post reply Post reply Post reply Go to top Go to top Go to top

2.5Mloc in 4 months ?

Posted by: Alain Rogister on January 30, 2006 in response to Message #198596
I did not have the time to look at the whole presentation yet, but I find this figure all little hard to believe. Let's do the math. In the 4 months, we have to assume that at least 1 was spent in testing, so that leaves 3 months of development x 20 working days per month = 60 working days total (are there week-ends and nights in Brazil ?).

Assuming that a developer is able to develop 100 lines of production-quality code per day (note that this is *very* optimistic, the norm is well below that), that translates into 100 x 60 = 6000 loc per developer. To develop the 2.5 Mloc would then require 417 developers, again with the unrealistic assumption that the work can be almost perfectly parallelized.

Question: how many developers were actually involved and did they sleep well at night or get to see their families during the course of the project ?

  Message #198707 Post reply Post reply Post reply Go to top Go to top Go to top

2.5Mloc in 4 months ?

Posted by: Stephan Janssen on January 30, 2006 in response to Message #198704
Alain, check out the presentation first then you'll understand :o)

  Message #198708 Post reply Post reply Post reply Go to top Go to top Go to top

2.5Mloc in 4 months ?

Posted by: Alain Rogister on January 30, 2006 in response to Message #198707
Alain, check out the presentation first then you'll understand :o)
I was hoping that someone would give away the plot and save me the time to watch it all out. All right, all right, I'll have a look...

  Message #198709 Post reply Post reply Post reply Go to top Go to top Go to top

2.5Mloc in 4 months ?

Posted by: Alain Rogister on January 30, 2006 in response to Message #198707
Aha! I see now... In the 2.3 (not 2.5) Mloc, over 1M was legacy code... and that got mostly thrown away. In the remaining 1.3 M, 740Kloc were generated by XDoclet, then by an Annotations processor. I'd be curious to see what these 740Kloc actually *do*. Anyway, that leaves 543Kloc that were actually written by developers according to the presentation, i.e. 5 times less than the original claim. Not to belittle anyone - I just like figures to be reality-based.

Now, does anyone know many developers were involved ?

  Message #198725 Post reply Post reply Post reply Go to top Go to top Go to top

2.5Mloc in 4 months ?

Posted by: Shahzad Masud on January 31, 2006 in response to Message #198708
Alain, I guess if one do smart coding and do it with keen interest / concentration then you can write 2.5 million lines of code in 60 days. It depends on your concentration and work interest. My team (45 developers & 5 team leads) in Pakistan, have done the same in 6 months. Key contents for such large code is 1) Good design, 2) Expert Developers, 3) Good understanding of domain, and 4) Concentration.

  Message #198726 Post reply Post reply Post reply Go to top Go to top Go to top

2.5Mloc in 4 months ?

Posted by: Alin Dreghiciu on January 31, 2006 in response to Message #198709
60 developers (slide 15 time 1:50)

  Message #198727 Post reply Post reply Post reply Go to top Go to top Go to top

Key contents for such large code

Posted by: Ulas Ergin on January 31, 2006 in response to Message #198725
IMHO Good understanding of domain is the first.
Even the best design may crash if it doesn't fit into the domain.

  Message #198732 Post reply Post reply Post reply Go to top Go to top Go to top

The J2EE Architecture of the Brazilian Healthcare

Posted by: Timur Evdokimov on January 31, 2006 in response to Message #198685
I'm brazilian and recently moved to Europe. Besides what every brazilian things about living abroad, here healthcare can be worst than public healthcare in Brazil, and at least private healthcare in Brazil is not that expensive.
In what country you live Erik ???

This is indeed completely off-topic, but I came to Europe from opposite part of the world and nevertheless, I can second Erik's opinion totally.

  Message #198734 Post reply Post reply Post reply Go to top Go to top Go to top

The J2EE Architecture of the Brazilian Healthcare

Posted by: Werner Punz on January 31, 2006 in response to Message #198732
I'm brazilian and recently moved to Europe. Besides what every brazilian things about living abroad, here healthcare can be worst than public healthcare in Brazil, and at least private healthcare in Brazil is not that expensive.
In what country you live Erik ???
This is indeed completely off-topic, but I came to Europe from opposite part of the world and nevertheless, I can second Erik's opinion totally.

Well it totally depends on the country you live in, in Europe, Healthcare is good in most european countries, but some southern european countries and England are notorious to have a lousy public healthcare.
Healthcare over here (Central Europe) generall is pretty good, and free, but we pay taxes for it.

  Message #198747 Post reply Post reply Post reply Go to top Go to top Go to top

brazilian citizens

Posted by: Nicola Viragine on January 31, 2006 in response to Message #198596
Brazil is a country were the citizens works five months per
year to pay the taxes..and the public services including the
the health is the worst possible.. Our governors are corrupts.

  Message #199004 Post reply Post reply Post reply Go to top Go to top Go to top

the true

Posted by: Marcos Almeida on February 01, 2006 in response to Message #198596
"right to full healthcare, from primary care to complex procedures as heart transplants, for free, any place in the country" but we can spend many years waiting for this rigth.

New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com

Dependency Injection in Java EE 6 - Part 2

Reza Rahman continues to explore the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6. (January 21, Article)

Ted Neward Q&A: What you must know about JavaScript, Scala and more

Ted Neward is an independent consultant specializing in high-scale enterprise systems, and an authority in Java and .NET technologies. He is the author and co-author of several books, including Effective Enterprise Java. At TheServerSide Java Symposium in March, he will be presenting sessions on pragmatic architecture, ECMAScript and Scala. (January 15, Article)

Developers split on open sourcing Java

Now that Oracle is absorbing Sun Microsystems, there mixed views on what should come of the Java Community Process (JCP). While some say Oracle should become the new steward of Java and keep the JCP much as it was, others argue that it may be time to open-source this widespread language. (November 24, Article)

Dependency Injection in Java EE 6 - Part 1

Reza Rahman explores the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6. (November 2, Article)

SAML: It's Not just for Web services

SAML is an XML-based standard for exchanging authentication and authorization data between security domains. The single most important problem that SAML was created to solve is the Web browser Single Sign-On problem. Many organizations are debating whether to stay with version 1.1 or move to 2.0. This article makes observations about both options. (September 28, Article)

Programming is Also Teaching Your Team

Joe Ottinger takes a look at how people learn, and applies it to the practice of programming. He notes that understanding how people learn is an essential part of working in a programming team. (September 22, Article)

Can Java EE Deliver The Asynchronous Web?

Stephen Maryka gave us an article about the Asynchronous Web and posed a number of questions that get examined like an approach to delivering Asynchronous Web capabilities through extensions to existing Java EE technologies. (July 14, Article)

JSF Flex

JavaServer Faces Flex goal is to provide users capability in creating standard Flex components, part of flexSDK which is open sourced through MPL license, as normal JSF components. This article by Ji Hoon Kim will provide an overview of creating a simple multilingual JSF page consisting of JSF Flex tags. (June 29, Article)

The Rules of SOA - A Road to a Successful SOA Implementation

In this session Jeff explores the key characteristics of successful SOA projects. He covers some of the patterns, and anti-patterns, tool sets, and strategies that he himself learned the hard way. Last, he provides a strategy and blueprint for achieving a high likelihood of success in your SOA project. (June 23, Tech Talk)

Ari Zilka Talks About Terracotta 3.1

Ari Zilka, CTO of Terracotta, Inc., talks about the new features in Terracotta 3.1, announced during JavaOne and available now. (June 15, Tech Talk)

Enterprise Application Integration, and Spring

In this Tech Talk, Josh Long explores an integration challenge using Spring Integration and walks through the implementation, employing and expanding on the basic patterns of Enterprise Application Integration to tie together components into a function integration solution, and then demonstrates how Spring Integration helps address the integration requirements. (June 15, Tech Talk)

Google Web Toolkit: An Introduction

In this Tech Talk, David Geary teaches you: The basics of Google Web Toolkit; How to implement Ajax-enabled applications in Java; Internationalization; Hooking into the browser history mechanism; Remote procedure calls. (June 4, Tech Talk)

Just Enough Early Architecture to Guide Development

Jon Kern discusses the best architecture/technical solutions and ensure that they are repeated by all developers. By tackling the architecture up-front in a serial manner, subsequent parallel development will be much more manageable and predictable. (May 28, Tech Talk)

Productive Programmer: On the Lam from the Furniture Police

This keynote describes the frustrations of modern knowledge workers in their quest to actually get some work done, and solutions for how to guard yourself against all those distractions. Neal Ford talks about environments, coding, acceleration, automation, and avoiding repetition as ways to defeat the misguided attempts to sap your ability to produce good work. (May 26, Tech Talk)

Auto-Scaling Your Existing Web Application

Gil demonstrates how new, aggressive uses of already abundant compute capacity by common applications offer competitive value for application designers. (May 21, Tech Talk)

Automating Hibernate Mapping and Queries For Java Web Development

Chris Keene introduces WaveMaker as a new way to automate the ability to generate Hibernate classes in order to more quickly bring OR mapping into an application. (May 19, Article)

Free Book PDF Download: Mastering EJB Third Edition

Mastering EJB was one of the original and most influential EJB books in the industry. Mastering EJB III now returns with two new expert co-authors, updated for EJB 2.1 and 30% new chapters including security, integration, best practices, open source, and more.
(Book PDF Download)

Application Server Matrix

The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
Java Solutions
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map