ArticleslgStudy

computer science

Enterprise Mashup Markup Language

Enterprise Mashup Markup Language is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Enterprise Mashup Markup Language rather than just read about it. In short: Enterprise Mashup Markup Language (EMML) is an XML markup language for creating enterprise mashups, which are software applications that consume and mash data from variety of sources. These applications often perform logical or mathematical operations as well as present the data.

Key takeaways

  • Enterprise Mashup Markup Language belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Enterprise Mashup Markup Language to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Enterprise Mashup Markup Language from memory before moving on to harder problems.

Reference excerpt

Enterprise Mashup Markup Language (EMML) is an XML markup language for creating enterprise mashups, which are software applications that consume and mash data from variety of sources. These applications often perform logical or mathematical operations as well as present the data. Mashed data produced by enterprise mashups are presented in graphical user interfaces as mashlets, widgets, or gadgets. EMML can also be considered a declarative mashup domain-specific language (DSL). A mashup DSL eliminates the need for complex, time-consuming, and repeatable procedural programming logic to create enterprise mashups. EMML also provides a declarative language for creating visual tools for enterprise mashups. The primary benefits of EMML are mashup design portability and interoperability of mashup solutions. These benefits are expected to accelerate the adoption of enterprise mashups by creating transferable skills for software developers and reducing vendor lock-in. The introduction of EMML is expected to help accelerate the trend toward the integration of web-based applications and service-oriented architecture (SOA) technologies. Bank of America was a high-profile early supporter of EMML. Other prominent early supporters included Hewlett-Packard, Capgemini, Adobe Systems, and Intel.

EMML history Raj Krishnamurthy (chief architect at JackBe Corporation) and Deepak Alur (VP engineering at JackBe Corporation) started working on EMML in 2006. Their objective was to enable user-oriented and user-enabled mashups by creating what was then a new type of middleware called an Enterprise Mashup Platform. Raj Krishnamurthy became the chief language designer and implementer of EMML and also led the team to create an Eclipse-based EMML IDE called Mashup Studio. This work evolved into the EMML reference implementation that was donated to the Open Mashup Alliance. Raj Krishnamurthy continues to be one of the key contributors to EMML through the Open Mashup Alliance.

EMML features EMML language provides a set of high-level mashup-domain vocabulary to consume and mash a variety of web data-sources in flexible ways. EMML provides a uniform syntax to invoke heterogeneous service styles: REST, WSDL, RSS/ATOM, RDBMS, and POJO. The EMML language also provides the ability to mix diverse data formats: XML, JSON, JDBC, JavaObjects, and primitive types. High-level EMML language features include:

Filter and sort data coming from heterogeneous services. Join data across heterogeneous services and data formats. Group and aggregate data using assorted functions. Annotate original service data to enrich its semantic meaning. Merge multiple data streams into consolidated datasets Split datasets to select individual data fields. Embedded scripting support for JavaScript, JRuby, Groovy, XQuery Web clipping to scrape data from HTML pages. Conditional statements - If/Then/Else, While, ForEach Parallel syntax for concurrent processing EMML is primarily an XML-based declarative language, but also provides the ability to encode complex logic using embedded scripting engines. XPath is the expression language used in EMML.

Directinvoke statement directinvoke provides ability to invoke and consume a variety of data services. These data services may be REST, RSS/ATOM, or SOAP services. directinvoke also supports Web clipping by allowing HTML pages to be specified as service endpoints. HTTP GET, POST, PUT, and DELETE protocols are supported in directinvoke. HTTP Header and cookie support is also available thus providing the capability to consume a wide variety of REST/SOAP Web services. It is possible to use directinvoke with a proxy server. Code sample of passing attributes as parameters to a service:

Filter statement The filter statement filters the content of a variable using an XPath expression and places the result in a new variable. Code sample for filtering west-coast customers using region data-item:

Sort statement The sort statement sorts the content of a document-type variable or variable fragment based on key expressions and places the result in another variable. Code sample that sorts tickets based on created date and customer:

Groupby statement groupby provides the ability to group and aggregate data sets. Standard XPath aggregation operations can be used and there is an extension mechanism for adding user-defined functions. Nested Grouping of hierarchical data sets are also supported. There is a Having clause to filter Group attributes. Code sample that groups books by genre and computes total copies for each genre:

Merge statement merge provides ability to combine various data sources including RSS/ATOM feeds, XML, JSON payload formats. The merge feature is similar to SQL UNION functionality but merges hierarchical document structures. Code sample that merges Yahoo! News, Financial News, and Reuters feeds:

Annotate statement annotate provides ability to enrich the semantic meaning of source service data with microformat-like elements/attributes. These data annotations can be used by mashlets or gadgets to provide richer visual user interfaces. Code sample for annotating vendor payload with geo-coordinates:

Join statement The join statement defines how disparate, hierarchical data formats are joined and is comparable to inner joins for relational databases. Code sample where output variable contains a <res:recommendations> element with a repeating set of <res:movie> children, which are the repeating items. Each <res:movie> contains a <res:movietitle> child with data from the variable named movies and <res:rating> and <res:comment> children with data from the variable named reviews:

Scripting in EMML EMML is a declarative language, but provides programmatic scripting extensions for performing complex mashup logic. JavaScript, JRuby, Groovy, POJO, XQuery scripting environments are supported. Data flows seamlessly between EMML and scripting environments. Code sample where JavaScript snippet is used to extract authentication token that is required for subsequent calls "result" variable that gets propagated to JavaScript environment:

References

Worked examples

Example 1 — a first encounter with Enterprise Mashup Markup Language

Start with the simplest possible case. Write down what Enterprise Mashup Markup Language claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Enterprise Mashup Markup Language before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Enterprise Mashup Markup Language ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Enterprise Mashup Markup Language

In research
Enterprise Mashup Markup Language appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Enterprise Mashup Markup Language in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Enterprise Mashup Markup Language is common in secondary-school and first-year university syllabi. It links to neighbouring topics Domain-specific programming languages, Markup languages, Mashup (web application hybrid), so understanding it makes those chapters shorter.
In everyday life
Look for Enterprise Mashup Markup Language outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Enterprise Mashup Markup Language” →

How to study Enterprise Mashup Markup Language in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Enterprise Mashup Markup Language means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Enterprise Mashup Markup Language out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Enterprise Mashup Markup Language in simple terms?

Enterprise Mashup Markup Language (EMML) is an XML markup language for creating enterprise mashups, which are software applications that consume and mash data from variety of sources. These applications often perform logical or mathematical operations as well as present the data.

Why does Enterprise Mashup Markup Language matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Enterprise Mashup Markup Language?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Enterprise Mashup Markup Language.

Tags

  • Domain-specific programming languages
  • Markup languages
  • Mashup (web application hybrid)
  • Open standards
  • Query languages
  • Rich Internet Applications
  • Scripting languages
  • Software architecture
  • User interface markup languages
  • Web development software
  • Web services
  • XML-based standards

Keep exploring