Apr 22nd, 2008 | Aprile 22, 2008 | J2EE | No Comments Nessun Commento
java.net.BindException: Address already in use: JVM Bind is one of the most popular error among java developers and guys who do socket java.net.BindException: Indirizzo già in uso: JVM Bind è uno dei più popolari di errore tra sviluppatori Java e ragazzi che fanno presa
programming in some other language too. programmazione in un'altra lingua. But with respect to java this error is much familiar with socket programming and during web development. Ma per quanto riguarda java questo errore è molto più familiarità con la programmazione e la presa di corrente durante lo sviluppo web. This error happens for ports 80 (HTTP) , 1098 (RMI) when it is used by other applications that is running on the same PC or server. Questo errore succede per le porte 80 (HTTP), 1098 (RMI) quando viene utilizzato da altre applicazioni in cui è in esecuzione sullo stesso PC o server. So I am going to explain how to debug and solve this problem. Così io vado a spiegare come eseguire il debug e risolvere questo problema.
→ continue reading → continua a leggere
Apr 1st, 2008 | 1o aprile, 2008 | J2EE | No Comments Nessun Commento
Coding Standards play a vital role in the development of any software applications and development irrespective of the language that is used to develop the same. Norme di codifica svolgono un ruolo fondamentale nello sviluppo di tutte le applicazioni software e lo sviluppo, indipendentemente dalla lingua che viene utilizzata per sviluppare la stessa. Every language whether it can be C, C++ or Java following the coding standards is must for any applications mainly to address bugs, memory leaks, performance issues and scalability. Ogni lingua se essa possa essere C, C + + o Java seguendo le norme di codifica è necessario per tutte le applicazioni soprattutto per affrontare i bug, perdite di memoria, problemi di prestazioni e scalabilità. Since the style of coding may vary from language to language or developer to developer always there is always a degree of error in any software development. Dal momento che lo stile di codifica può variare da lingua a lingua o sviluppatore a sviluppatore sempre c'è sempre un margine di errore in ogni lo sviluppo del software. Most of the time the code gets crappy when multiple developers started working on the same piece of class or code and results in maintainability issues. La maggior parte del tempo il codice viene crappy quando più sviluppatori iniziato a lavorare sullo stesso pezzo di codice o di classe e di risultati in questioni di manutenzione. There is always a possbility of crap code present in any software application but the degree varies. C'è sempre un possbility crap di codice presenti in qualsiasi applicazione software, ma il livello varia. How crappy is your code ? Come crappy è il tuo codice? Can somebody tell the degree of crappiness ? Qualcuno può dire il grado di crappiness? The answer is Yes. La risposta è sì. Alberto Savoia and Bob Evans of Agitar Labs which is a research division of Agitar Software came up with a solution called Alberto Savoia e Bob Evans di Agitar Labs che è una divisione di ricerca di Agitar Software ha presentato una soluzione chiamata Crap4J framework for Java. quadro di riferimento per Java.
→ continue reading → continua a leggere
Mar 30th, 2008 | Marzo 30, 2008 | J2EE | No Comments Nessun Commento
The concept reverse engineering led to the invention of decompilers in the world of softwares and programming. Il concetto di reverse engineering ha portato alla invenzione del decompilers nel mondo del software e di programmazione. Decompilers in java is mainly used to covert the compiled object code back to source. Decompilers in Java, è principalmente utilizzato per operazioni di compilato il codice oggetto torna alla fonte. Decompilers often help programmers by helping them to recover the lost code from the compiled binaries. Decompilers spesso aiutare i programmatori, aiutandoli a recuperare la perdita del codice della binari compilati. Decompilation of java code or any code from some other languages need to undergo some steps like disassembly, program analysis, code analysis, structure rebuilding and code generation depending on the language or type of the code. Decompilazione di codice Java o qualsiasi codice di alcune altre lingue necessità di sottoporsi a alcuni passi come smontaggio, programma di analisi, il codice di analisi, la struttura ricostruzione e la generazione di codice a seconda della lingua o del tipo di codice. But nowadays, decompilers are mainly used for software piracy and is used to steal copyrighted code rather than for legitimate use. Ma al giorno d'oggi, decompilers sono utilizzati principalmente per pirateria informatica, ed è usata per rubare il codice protetto da copyright, piuttosto che per il legittimo uso. We will discuss some of the best known decompilers for Java in this post. Si tratteranno alcuni dei più noti decompilers per Java in questo post.
→ continue reading → continua a leggere
Mar 28th, 2008 | Marzo 28, 2008 | J2EE | No Comments Nessun Commento
EJB’s popularly known as Enterprise Java Beans are one of the state-of-the-art feature of J2EE. EJB's popolarmente conosciuta come Enterprise Java Beans sono uno dei state-of-the-art caratteristica di J2EE. EJB’s are mainly used for handling transactions, security, providing remote services etc. Even though lot of Object Relational Mapping Frameworks like Hibernate has replaced EJB’s which is considered to be so heavy in any Enterprise Application. EJB sono utilizzati principalmente per le operazioni di movimentazione, di sicurezza, fornendo servizi a distanza, ecc Anche se molti oggetti di mappatura relazionale quadri come Hibernate ha sostituito EJB's che è considerato essere così pesante in ogni Enterprise Application. Invoking an EJB inside the Application Server Container is quite simple and process is not as tedious when you try to do the same from outside the Application Server. Invocando un EJB all'interno del container Application Server è molto semplice e di processo non è così noioso quando si tenta di fare lo stesso al di fuori del Application Server. Today I am going to explain how to invoke an EJB service which is deployed in a remote machine using a plain java client. Oggi sto per spiegare come invocare un EJB servizio che è dispiegata in una macchina remota utilizzando un semplice client Java.
→ continue reading → continua a leggere
Mar 20th, 2008 | Marzo 20, 2008 | J2EE | No Comments Nessun Commento
Err is human thats what we say. Errare è umano thats quello che diciamo. Unit Testing, Code Review are considered as some of the bugging terms in the current software industry. Test unità, codice modifica sono considerati come alcuni dei termini in bugging l'attuale industria del software. It is because until now no software neither framework has been guranteed to be fool-proof or bug free. È perché fino ad ora nessun software quadro non è stata garantita a essere a prova di ingannare o liberi da bachi. Testing of any software or an application can be done at two levels. Collaudo di qualsiasi software o di una domanda può essere fatto a due livelli. One at usability and functionality level ie. Uno alla usabilità e la funzionalità vale a dire livello. nothing but black box testing. ma nulla di test scatola nera. The second one is nothing but White box or glass box testing the internal structure of the application or software. La seconda non è altro che casella di bianco o di vetro casella di test la struttura interna della domanda o software. In terms of Electrical Engineering this kind of testing is called ICT (In Circuit Testing). In termini di Ingegneria Elettrica questo tipo di test è chiamato TIC (In Circuit Test). The success of a software or application is much dependent on White box testing for a long run in terms of scalability, maintenance, load-factor etc. You can find lot of opensource and licensed frameworks available in the market to test the internal structure of the design, framework, code etc. For Java development open-source tools like Junit, PMD, Hamurapi are the prominent frameworks that has been used wide across the industry. Il successo di un software o di applicazione è molto dipendenti dalla casella bianca di test per un lungo periodo in termini di scalabilità, manutenzione, fattore di carico ecc Potete trovare molto di licenza opensource e quadri disponibili sul mercato per testare la struttura interna del progettazione, quadro, ecc codice di sviluppo per Java open-source, strumenti come JUnit, PMD, Hamurapi di rilievo sono i quadri che sono stati utilizzati a livello in tutta l'industria. Now a new open-source framework called Ora un nuovo framework open source chiamato Enerjy joins the party. entra a far parte.
→ continue reading → continua a leggere