All Questions

2
answers

Java 8 "default method" versus C # "extend method"

Java 8 introduces the concept of "standard method" to allow adding new functionality to an interface. C # provides "extension methods" that allow you to "add" methods (features) to existing types. Considering how they are implemented by th...
asked on 02.04.2016 / 01:05
2
answers

How to save a cascaded collection in nhibernate without putting circular reference?

Always when I try to save an object with a collection of data mapped as HasMany I have to put a circular reference so that NHibernate can save this object cascade. For example I have the following mapping of the parent class. public...
asked on 12.12.2013 / 20:49
2
answers

Is it wrong to structure a form with tables?

Today with HTML5/CSS3 and its many ways to align elements (divs) Is it wrong to structure a form with a table? For example: <form action="action" method="POST"> <table style="width:100%"> <tr> <td>Nome&l...
asked on 22.10.2015 / 18:03
3
answers

What is XHTML and when should it be used?

What I know is that XHTML needs to be valid XML. This implies, for example, that all tags need to be closed. For example: Errado: <br> Certo: <br/> But what is the use of this? What is it for? When should it be used?     
asked on 11.07.2014 / 13:30
1
answer

What does this anti-theft code in Javascript do?

What does this anti-theft code in Javascript do? <html><head></head><body onload="challenge();"> <script> eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)...
asked on 19.05.2015 / 16:47
1
answer

Generate classes with XSD or import WSDL [ANS / TISS]

ANS provides the .XSD , and .WSDL files for TISS implementation. S and I generate the code by .XSD, I have the classes structured correctly. Example: namespace TissV3 { class Cabecalho { ... } class...
asked on 11.06.2018 / 16:29
2
answers

What is the difference between Template and Layout?

I'd like to know the semantic, visual difference and front-end and back-end web development. @edit Related: Is there any kind of dependency? To have the layout you need to have the template?
asked on 24.09.2015 / 21:47
2
answers

Manipulating String in Java

I have text inside a String. I'll go through this String. As I go through it, I must take every word it contains. I thought about using string.split(" "); but I need to treat. "" ";" "," ":" "!" "?" among other cases. How can I do this?...
asked on 05.08.2014 / 15:17
3
answers

Can a video accelerator card improve non-graphical performance? [closed]

To develop in Ruby on Rails, I use here a VirtualBox virtual machine with Ubuntu Server 14.04 without graphical interface installed. Recently I discovered a configuration that improves absurdly VM performance: Enable 3D video acceleration...
asked on 08.09.2014 / 13:19
3
answers

Test case is a use case?

I have questions about use case and test case . In my understanding both are the same things, just a UML diagram, but in college my teacher said that a test case is not a diagram and not a use case in> but did not go into detail, however,...
asked on 08.01.2016 / 16:42