Friday, July 3, 2015

Inserting images in BIP templates for HTML output

 

Just documenting a BIP trick to insert images when the output will be in HTML. Time to time, report designers have to embed static images like logos or emblems on reports which have to be rendered along with the final output. Simply inserting the image into the RTF template will work fine if the output is in RTF or PDF format, but the images will be blank if the output is in HTML. This is , of course, because HTML does not embed the image, it just adds the the url reference to the image. Here is how to place an image in the RTF template so that it renders properly no matter what the output format.

cleartext.blogspot.com

First of all, you will have to place the image to be rendered in a public server somewhere, this can be anywhere on the internet which can be accessed via a url. Do not place this image on any server behind corporate firewalls,or it won't be rendered.

cleartext.blogspot.com

 

1: First, enable 'Developer Mode' in your Word. For this, go to File->Options->Cutomize Ribbon, and check the box next to 'Developer' in 'Main Tabs':

tmpB0AE

2: Now under the new 'Developer' tab, click on 'Design Mode'

clip_image001

3: Now, from under "Legacy forms", choose the image holder: cleartext.blogspot.com

clip_image001[5]

4: This will put a nice grey square in your template. Right click that,  choose 'Format Control' , and go to 'Alt Text'

tmp46C

5: Under the alternative text, insert the url to the final image to be rendered.  cleartext.blogspot.com

tmp9EE7

6: Thats it ! Now when you generate the output of this template, the image will be rendered properly in any output format, including HTML.

7: Bonus ! You can even add a unique URL to the image, so that when it it clicked, the user it re-directed to another website. For this, right click the image (or grey square) and choose hyperlink. Insert the url in the hyperlink box. The re-direction also works regardless of output type.

cleartext.blogspot.com

 

Cheers !

Monday, June 15, 2015

Oracle Sales Erode As Startups Embrace Souped-Up Free Software

 

While the threat to Oracle has been around for years, it’s becoming more intense with recent improvements that make open-source technology more reliable -- and appealing to a new generation of multibillion-dollar startups, said Terilyn Palanca, an analyst at Gartner Inc.

488x-1

“There was pessimism for a decade on whether those things could stand up. The question is largely resolved,” she said. “This open source, this open core model, is something we’re going to see growing and growing through the years.”

Sales Decline

The impact shows up in Oracle’s sales of new software licenses, which have declined for seven straight quarters compared with the period a year earlier. New licenses made up 25 percent of total revenue in fiscal 2014, down from 28 percent a year earlier -- a sign the company is becoming increasingly dependent on revenue from supporting and maintaining products at existing customers and having a harder time finding new business. Oracle reports fiscal fourth-quarter earnings next week.

To blunt this, the Redwood City, California-based company is expanding efforts in cloud computing, which will let it sell packaged high-margin services to customers. That may help balance the slowdown in the basic business. It also operates an open-source database called MySQL.

“Does the cloud-related business grow quickly enough to offset any long-term weakness in new software licenses? To us the answer is yes,” said Bill Kreher, an analyst at Edward Jones & Co., who has a buy rating on Oracle. “I would expect to see Oracle continue to gain market share within the cloud.”

Deborah Hellinger, a spokeswoman for Oracle, declined to comment.

Companies contemplating a move away from traditional database sellers such as Oracle have essentially two options: hire internal engineers to corral various free open-source databases, or pay the startups behind the free technologies for some must-have features. Licensing Oracle’s database can cost hundreds of thousands of dollars, depending on which of its numerous features customers choose to use.

Free Programs

One of the open-source technologies is the Cassandra database, which was created last decade and has been widely used by companies such as Apple Inc. and Netflix Inc. Though some companies develop and run Cassandra themselves, others go to the main backer, the startup DataStax Inc., for technical features they may not have the expertise to develop themselves.

DataStax, for example, has a customer that paid about $500,000 in Oracle software licenses and now spends $90,000 with DataStax for a similar project, said Matt Pfeil, DataStax’s co-founder. That price difference has started to have a major effect in the industry.

“I think I’ve been in this industry too long to use Oracle,” says Kellan Elliott-McCrea, chief technology officer of Etsy Inc. “I saw so many of my peers in the late ’90s crashing and burning and spending all of their money on Oracle.” Instead, Etsy, an online marketplace for hand-crafted goods, runs on a hodge-podge of open-source databases, primarily MySQL.

‘Sweet Spot’

Not all applications are well-suited to open source, as the systems made by Oracle and others still have capabilities far in excess of the free systems, Palanca said.

“You’re still going to have a class of applications for which these open-source solutions are not yet ready, and that is the continued sweet spot for Oracle,” she said.

Even some really big customers are finding ways to increase their reliance on upstarts. Open source is changing the type of technologies Goldman Sachs Group Inc. deploys in systems relating to messaging and databases, said Don Duet, the co-head of technology at Goldman Sachs. Many of these technologies became “standard parts” of Goldman’s computing infrastructure in the last two years, he said.

“It’s hard not to go into our datacenter and see a tremendous amount of open source running our applications and middleware,” he said. Goldman Sachs recently invested in a funding round for MongoDB Inc., another open source database provider.

Startups’ Shift

A Bloomberg survey of 20 startups valued at more than $1 billion supports the trend. The survey, which included companies such as Cloudflare Inc. and Pinterest Inc., found they placed open-source technologies at the heart of their businesses, with the exception of DocuSign, which had built around Microsoft’s SQL Server.

None of the companies surveyed indicated they had a large Oracle database deployment for their main services, though many used bits of Oracle software to run aspects of their organizations. Uber Technologies Inc., the car service, has committed heavily to Oracle via a worldwide rollout of the company’s E-Business Suite software, but job listings and presentations by Uber employees indicate it relies on a customized version of the free MySQL for its software.

“A lot of the startups now go with MySQL or less expensive options,” said David Wolff, the CEO of Database Specialists, a database consultancy. “The only thing that people complain about with Oracle is how much it costs.”

Extra Features

Companies can pay Oracle to get extra features of MySQL for $2,000 to $10,000 per computer it runs on, but none of the companies indicated this was the case. Others including Alibaba Group Holding Ltd., Facebook Inc., and Google Inc. have even built on MySQL to create their own free variant calledWebScaleSQL.

Still, Oracle has its fans. Zach Nelson, the CEO of NetSuite Inc., a cloud enterprise resource planning company, described Oracle’s software as “the best transaction database,” and said it made sense to use it.

“It only costs us 6 percent of revenue, and that’s nothing,” Nelson said.

As open-source databases continue to improve, there may be less reason to pay for Oracle’s products.

“I think more and more organizations are starting to realize the reason Oracle is charging that much is because there’s incredibly sophisticated technology in Oracle,” Palanca said. “Organizations are realizing they don’t need that for everything anymore.”

Wednesday, June 10, 2015

Siebel IP 2016 - No More High Interactivity

 

This is from Siebel Innovation Pack 2016: Client Platform Support - Statement of Direction (Doc ID 2017902.1)

tmp2540

 

 

Also it adds:

 

tmpBDD8

Friday, May 29, 2015

Siebel TBUI View cannot render Gantt Chart Applets

I was trying to do a Proof of Concept for a project, and it was around Siebel's Task Based UI system. The scenario was for a Service Request manual assignment system, and the user was supposed to assign the SR to an available agent. If you drilldown on the "Status" field of an Activity from the "Service Request Detail View", Siebel will take you to a Gantt Chart View : "FS AxGanttChart View", where the availability of the agent can be seen in a nicely rendered chart.
 
 
 
Then the Activity can be dragged and dropped into the Gantt Chart applet above. I was trying to move this vanilla functionality into the end of a custom TBUI, and I pulled the top applet "FS Dispatch Board Gantt Applet" into the TBUI.
 
Compiled, and tested.
 
 
Bummer !
 
Gantt Chart applets do not get rendered properly in the TBUI. It breaks the layout completely.
 
 
I guess I'll just have to add this to the list of things I hate about Siebel.
 

Thursday, May 28, 2015

Window Live Writer no longer connects to Blogger


Today I started seeing errors when I tried to post to blogger via LivWriter



Turns out, the issue is because Google has made  changes to thier APIs and authentication system, that LiveWriter can no longer authenticate in.


The blogger online composer works fine, but uploading images there is a real pain.



Here is another way out..if you want to post to blogger, but do not want to use the online composer...

you can...just mail it in !


In your blogger account, you can turn on a secure email system, and any email you send to this account will be published automatically !

Go down to Settings-> Mobile and email



Set up a new email id and select "Publish email immediately". Any e-mail you send to this id will be published. So be sure NOT to share this email id with anyone.





You can insert images into the e-mail, and they will be handled by blogger correctly the same way it did for livewriter.


This is how I am posting this post as well..


Enjoy !!

Thursday, May 21, 2015

JAVA is 20

 

The JAVA programming language grows 20 years old this year.

Java at 20: The JVM, Java's other big legacy

May 23 marks 20 years since the first version of Java was released for public use. The timing of its arrival coincided with the advent of the web and the new role technology took in improving business productivity, streamlining business processes, and creating new ways for businesses and customers to interact.

The importance of a given programming language—especially one as pervasive as Java—in changing how people use technology is difficult to underestimate. The big data revolution, for example, is primarily a Java phenomenon.

In industry and business, most of server-side computing is done using Java applications. And much of the Internet of Things is also emerging on Java devices.

But 20 years ago, the language was delivered to an entirely different set of needs: a good, general-purpose language for desktop computing.

Java arrived at an important moment in software development. Up until then, the primary programming languages were few and well-established: Fortran in scientific computing, COBOL in business, and C or the emerging C++ everywhere else in commercial programming.

While less popular languages filled specific niches—Ada (defense), Pascal (hobbyists and consultants to SMBs), Smalltalk and Lisp (academia), Perl (system administrators), and so on—the Big Three dominated computing.

Fatigue with C

However, a fatigue with C was definitely emerging. The language had two major handicaps in those days: First, it was too low level—that is, it required too many instructions to perform even simple tasks. Second, it wasn’t portable, meaning that code written in C for the PC could not easily be made to run on minicomputers and mainframes.
The low-level aspects, which still are apparent today, led developers to feel that writing applications in C was akin to mowing the lawn with a pair of scissors. As a result, large software projects were tedious and truly grueling.

The portability of C was also a major problem. Although by 1995, many vendors had adopted the 1989 ISO standard, they all added unique extensions that made porting code to a new platform almost impossible.

It’s no coincidence, then, that this era saw the emergence of a new generation of languages. In 1995 alone, there appeared Ruby, PHP, Java, and JavaScript.

Java almost immediately became popular for mainstream programming due to its portability and large set of built-in libraries. The then-mantra for Java was “write once, run anywhere.” While not strictly true initially, it quickly became so, making Java a good choice for business applications that needed to run on several platforms.

IBM  subsequent embrace of Java (especially via Project San Francisco) clinched the new language’s central place in business programming.

Once a language becomes mainstream, it tends to have a long lifetime, as will be demonstrated this year when the languages born in 1995 all begin celebrating their twentieth  anniversaries. What makes Java stand out, though, is how much the language and platform have evolved in that time span.

Most conspicuous, to me at least, is the change in the Java Virtual Machine (JVM JVM). While it delivered portability almost from the start, it did not initially deliver speed. Java was known for being slow to start and slow to run.

Continual Improvements
Today, Java is among the fastest languages and can scale to programs that can process vast resources, as the big data revolution—a mostly Java-based phenomenon—has amply demonstrated.

The language, too has seen extensive revision. From a start in which there were rough corners lying here and there, Java has evolved into a tool that can address almost every kind of programming problem.

The advent of Java 8 in particular added important features taken from functional programming idioms that make code shorter, more reliable, and more expressive.

The details of Java’s history are so well known that it’s easy to forget how truly rare it really is. The rarity is that few languages have benefited from constant, large-scale engineering investment for two decades. Among major languages today, only Microsoft MSFT C# (and the .NET runtime) has been favored in this same way.

At one time, it was hoped that large communities of developers would be capable of driving this change by themselves. And certainly, the rapid pace at which early development tools advanced gave all programmers reason to believe. But those early tools turned out to be outliers, rather than heralds of coming things.

So, while others might celebrate 20 years of Java as if language endurance were in itself a major accomplishment, I prefer to celebrate the sustained rate of innovation and the 20 years of continuous investment required to make that happen.

java20

 

 

Oracle's Version

 

Other media:

 

Java has turned 20

The technology community is celebrating 20 years of the Java programming language, heralding its use by some nine million developers and the fact that it runs on seven billion devices worldwide.

The language was launched in 1995 by Sun Microsystems, and is now run as part of Oracle after the firm acquired Sun in 2010.

Georges Saab, vice president of development for the Java Platform Group at Oracle, explained that the Java programme has been one of the most important of the past two decades.

“Java has grown and evolved to become one of the most important and dependable technologies in our industry today,” he said.

“Those who have chosen Java have been rewarded many times over with increases in performance, scalability, reliability, compatibility and functionality.”

As part of the celebrations, Oracle has released a detailed timeline of the history of Java, starting as far back as 1991 and the background to its inception when it was called Oak.

Other technology giants that use Java, such as IBM and Fujitsu, have lined up to sing the praises of the platform, and executives from both firms noted its impact over the past 20 years and looked ahead to its future.

"IBM is celebrating Java's 20th anniversary as one of the most important industry-led programming platforms spanning mobile, client and enterprise software platforms,” said Harish Grama, vice president of middleware products at IBM Systems.

“IBM looks forward to the next 20 years of growth and innovation in the Java ecosystem, including mobile, cloud, analytics and the Internet of Things."  

Yasushi Fujii, vice president of Fujitsu's Application Management Middleware Division, said: “Fujitsu recognised the utility of Java in IT systems as soon as it first became available, and even now we are working to promote its applications.

"We expect that Java’s continuing evolution will lead to further ICT development and a changing society, and look forward to working with the Java community to develop Java technologies."

One company that is perhaps not going to join in the celebrations is Google, which is in the middle of a long-running $1bn patent battle with Oracle over the use of Java in the Android operating system.

Oracle has also faced criticism for its management of Java, specifically that it releases security updates for the software only every quarter, often leading to huge patch releases that can cause headaches for IT admins.

Nevertheless, Oracle said that its stewardship of Java since acquiring Sun has seen two major platform releases, Java 7 and Java 8, as well as the next release, Java 9, slated for 2016.

Java 9 is set to include a new feature called Project Jigsaw which aims to "modularise the platform" to make it scalable to a wider range of devices and easier for developers to build larger applications on the platform.

As part of the celebrations, Oracle is offering a 20 percent discount on all Java certification exams until 31 December.

 

 

 

Reload Original PagePrint PageEmail Page

Java At 20: The JVM, Java's Other Big Legacy

Think of Java, which celebrates its 20th anniversary this week, and your first thoughts most likely go to the language itself. But underneath the language is a piece of technology that has a legacy at least as important and powerful as Java itself: the Java virtual machine, or JVM.

Happy Birthday Java

20 years of Java

Because the JVM wasn't designed to run any particular language -- Java is only one of many possibilities -- it's become somewhat of a platform unto itself. Languages have been developed for the JVM that owe little or nothing to Java, and the future development of the JVM is turning more to empower the creation of new items that can leverage Java's existing culture of libraries and software or depart from it entirely.

The engines under the JVM hood

When people talk about the JVM, they're generally referring to a specific JVM: the one originally produced by Sun Microsystems and now owned by Oracle, which uses the HotSpot engine for just-in-time compilation and performance acceleration. With proper warmup time for long-running applications, code operating on HotSpot can sometimes meet or beat the performance of code written in C/C++.

Nothing says the HotSpot-empowered JVM has to be the one and only implementation of Java, but its performance and many years of development have made it the de facto choice for good reason. A galaxy of other JVMs have come (and gone), but HotSpot itself -- now an open source project -- remains the most common option for enterprise production use.

Here and there, though, others are attempting to become the keepers of their own JVM flame: One programmer, for instance, is developing a JVM entirely in Google's Go language -- although right now more as an experiment than as a serious way to give HotSpot any kind of competition.

Because of all the advanced optimization work put into HotSpot, the JVM has over time become a target platform by itself for other languages. Some are entirely new creations designed to exploit the JVM's high speed and cross-platform deployment; others are ports of existing language. Plus, using the JVM means devoting less work to creating a runtime for a language from scratch.

The big JVM stars: Clojure, Scala, and Groovy

Of the languages created anew on the JVM, one stands out for being most unlike Java as possible: Clojure, a functional language designed (in the words of its creator, Rich Hickey) to be a "kind of a Lisp for the JVM," one "useful anywhere Java is." Or even where Java isn't: Puppet Server, for example, recently swapped out Ruby for Clojure as its core language, citing performance as one reason for the switch.

Aside from its power as a functional language, Clojure illustrates one of the fringe benefits of creating a language for the JVM: access to all of the resources provided by Java itself, typically libraries like Swing or JavaFX. To that end, developers more comfortable with Clojure can write programs sporting platform-native UIs, by way of what Java already offers -- but without having to write Java code directly.

Scala, another functional language for the JVM, hews more closely to Java in terms of syntax, but it was created in response to many perceived limitations of Java. Some limitations, like the lack of lambda expressions, have been addressed in recent versions of Java. However, Scala's creators believe suchimprovements will leave developers wanting even more -- and Scala, not Java, will provide them in ways that developers will prefer.

Groovy, formerly stewarded by Pivotal but now an Apache Software Foundation project, was also developed as a complement to Java -- a way to mix in features from languages like Ruby or Python while still keeping the resulting language accessible to Java developers. It, too, functioned in part as a critique of Java by providing less-verbose versions of many Java expressions.

The JVM ports: Jython, JRuby, and the rest

Another side effect of the JVM serving as a language target: Implementations of several languages now run there as well. For example, if you thought Node.js was the first time JavaScript ran as a server-side entity, think again: Mozilla's Rhino has been doing so, in Java and on the JVM, since 1999 (albeit in only an open source variety after 2006).

Most prominent among the ported languages -- and relevant to enterprise developers -- are Python and Ruby, which have been implemented in JVMs as Jython and JRuby, respectively. As with the other JVM languages, hosting Python and Ruby on the JVM gives them access to the existing universe of Java software. This relationship works both ways: You can leverage Python from within Java applications as a scripting language for testing, by way of Jython.

Despite the speed of languages on the JVM, there's no guarantee that a JVM-ported version of a language will be higher-performing than its other incarnations. Jython, for example, is sometimes faster, sometimes slower than the conventional CPython implementation; performance depends greatly on the workload. Likewise, JRuby can be faster than its stock implementation, but not always.

Another disadvantage of a JVM-hosted version of a language: It doesn't always track the most recent version of the language. Jython, for example, supports only the 2.x branch of Python.

The next steps for the JVM

Even apart from performance issues, it's unlikely any of these languages will replace Java. But that has never been the plan -- after all, why replace Java when it's so widely entrenched, successful, and useful?

Instead, it's better to take the culture that's sprung up around Java -- all the libraries and applications -- and make it useful by way of the JVM to far more than Java programmers.

Next, the JVM must become easier to use as a development environment for forward-thinking language work. In 2014, Oracle unveiled Graal VM, a project that exposes the JVM's innards via Java APIs. When completed, this will allow programmers to create new languages for the JVM by using Java as a kind of command-and-control language. (Prototypes of JavaScript, Ruby, and R hosted with Graal showed promising, if inconsistent, results.)

Tougher to predict is whether the JVM or its successors can foster a new language that's as influential and broad as Java itself -- or whether such a language comes from another direction entirely.

JavaScript and the V8 engine for JavaScript are strong candidates as influential successors to Java. Node.js already has a culture of software reuse akin to Java's own, and languages that transpile to JavaScript allow use of the ecosystem without having to write JavaScript.

But with Java preparing for major makeovers, languages on the JVM seems far closer to the beginning of their journey than to the journey's end.